src/main/java/com/zy/asrs/service/impl/MobileServiceImpl.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/resources/mapper/LocMastMapper.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/resources/mapper/OrderDetlMapper.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/java/com/zy/asrs/service/impl/MobileServiceImpl.java
@@ -92,6 +92,12 @@ throw new CoolException(param.getBarcode() + "数据已经在库"); } //判断托盘是否已经在工作档 if (wrkMastService.selectCount(new EntityWrapper<WrkMast>() .eq("barcode", param.getBarcode())) > 0) { throw new CoolException(param.getBarcode() + "数据已经在任务档中"); } //判断是否存在料箱码 => 存在料箱码则要求提交上来的物料list必须全部都有料箱码 boolean hasContainerCode = false; int containerCodeCount = 0;//料箱码数量 src/main/resources/mapper/LocMastMapper.xml
@@ -167,7 +167,7 @@ update asr_loc_mast set loc_sts = 'S' where row1 >=1 and row1 <= 16 and bay1 in(21,22,23,37,38,39,56,57,58) and lev1 >= 3 and lev1 <= 10 and lev1 >= 1 and lev1 <= 10 and loc_sts = 'O' </delete> </mapper> src/main/resources/mapper/OrderDetlMapper.xml
@@ -85,15 +85,30 @@ where 1=1 and order_no = #{orderNo} and matnr = #{matnr} <if test="batch!=null and batch!='' "> and batch = #{batch} </if> <if test="csocode!=null and csocode!='' "> and three_code = #{csocode} </if> <if test="isocode!=null and isocode!='' "> and dead_time = #{isocode} </if> <choose> <when test="batch != null and batch != ''"> and batch = #{batch} </when> <otherwise> and (batch IS NULL OR batch = '') </otherwise> </choose> <choose> <when test="csocode != null and csocode != ''"> and three_code = #{csocode} </when> <otherwise> and (three_code IS NULL OR three_code = '') </otherwise> </choose> <choose> <when test="isocode != null and isocode != ''"> and dead_time = #{isocode} </when> <otherwise> and (dead_time IS NULL OR dead_time = '') </otherwise> </choose> </select> <select id="selectItemNoneOfBatch" resultMap="BaseResultMap">