Browse Source

问题修改

zhs 2 years ago
parent
commit
6db078aca1

+ 1 - 1
src/main/java/com/tld/service/impl/InviteServiceImpl.java

@@ -130,7 +130,7 @@ public class InviteServiceImpl implements InviteService {
             askGoods.setStorageLocationCode(inventory.getStorageLocationCode());//库存编号
             inviteMapper.addAskGoodsVitrual(askGoods);
             map.put("msg", "200");
-        }catch (Exception e){
+        }catch (Exception e) {
             e.printStackTrace();
             map.put("msg", "500");
             map.put("errMsg", "失败");

+ 1 - 1
src/main/resources/mapper/WarehousingMapper.xml

@@ -216,7 +216,7 @@
                ifnull(b.name, '') as wbsName
         from tld_return_gs_warehousing a
                  left join tld_wbs b on a.wbs = b.tld_id
-        where a.order_number = #{orderNumber}
+        where #{orderNumber} LIKE CONCAT('%', CONCAT(order_number, ','), '%')
     </select>
     <!-- 查询入库流水 -->
     <select id="warehousingFlowing" resultType="com.tld.model.Storage">