| | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.gs.xiaomi.entity.DeliveryMain; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | /** |
| | | * @author 28567 |
| | |
| | | public interface DeliveryMainMapper extends BaseMapper<DeliveryMain> { |
| | | |
| | | long getNextVal(); |
| | | |
| | | |
| | | void callPdaReceiptBtn(@Param("C_IN_STR") String inStr, @Param("C_RESULT") String result); |
| | | } |
| | | |
| | | |
| | |
| | | public interface DeliveryMainService extends IService<DeliveryMain> { |
| | | |
| | | long getId(); |
| | | |
| | | |
| | | void callPdaReceiptBtn(String inStr, String result); |
| | | } |
| | |
| | | |
| | | } |
| | | |
| | | deliveryMainService.callPdaReceiptBtn("送货单签收[BTNOK[PL017[" + etHeader.getZzasn(), ""); |
| | | }); |
| | | } |
| | | |
| | |
| | | public long getId() { |
| | | return baseMapper.getNextVal(); |
| | | } |
| | | |
| | | @Override |
| | | public void callPdaReceiptBtn(String inStr, String result) { |
| | | baseMapper.callPdaReceiptBtn(inStr, result); |
| | | } |
| | | } |
| | | |
| | | |
| | |
| | | SELECT SEQ_DELIVERY_MAIN.NEXTVAL |
| | | FROM DUAL |
| | | </select> |
| | | <select id="callPdaReceiptBtn"> |
| | | {call PRC_RF_PDA_RECEIPT_BTN( |
| | | #{C_IN_STR, mode=IN, jdbcType=VARCHAR}, |
| | | #{C_RESULT, mode=OUT, jdbcType=VARCHAR} |
| | | )} |
| | | </select> |
| | | </mapper> |