Browse Source

[fix]

仓库管理 出货设备
修改出货设备mapper,去除按sn号查找方法中料号参数;
修改出货设备service及其接口,去除按sn号查找方法中料号参数;
dev
王晓迪 3 months ago
parent
commit
44de7c2759
  1. 2
      ruoyi-admin/src/main/java/com/ruoyi/aftersales/mapper/AfterSalesShippingDeviceMapper.java
  2. 2
      ruoyi-admin/src/main/java/com/ruoyi/aftersales/service/IAfterSalesShippingDeviceService.java
  3. 4
      ruoyi-admin/src/main/java/com/ruoyi/aftersales/service/impl/AfterSalesShippingDeviceServiceImpl.java
  4. 1
      ruoyi-admin/src/main/resources/mapper/aftersales/AfterSalesShippingDeviceMapper.xml

2
ruoyi-admin/src/main/java/com/ruoyi/aftersales/mapper/AfterSalesShippingDeviceMapper.java

@ -119,5 +119,5 @@ public interface AfterSalesShippingDeviceMapper
/* /*
* 根据sn号查询出货设备信息列表 * 根据sn号查询出货设备信息列表
* */ * */
List<AfterSalesShippingDevice> selectShippingDeviceListBySnCodeAndMaterialNo(String[] snCode,String materialNo); List<AfterSalesShippingDevice> selectShippingDeviceListBySnCodeAndMaterialNo(String[] snCode);
} }

2
ruoyi-admin/src/main/java/com/ruoyi/aftersales/service/IAfterSalesShippingDeviceService.java

@ -111,5 +111,5 @@ public interface IAfterSalesShippingDeviceService
/* /*
* 根据sn号查询出货设备信息列表 * 根据sn号查询出货设备信息列表
* */ * */
List<AfterSalesShippingDevice> selectShippingDeviceListBySnCode(String[] snCode,String materialNo); List<AfterSalesShippingDevice> selectShippingDeviceListBySnCode(String[] snCode);
} }

4
ruoyi-admin/src/main/java/com/ruoyi/aftersales/service/impl/AfterSalesShippingDeviceServiceImpl.java

@ -251,7 +251,7 @@ public class AfterSalesShippingDeviceServiceImpl implements IAfterSalesShippingD
} }
@Override @Override
public List<AfterSalesShippingDevice> selectShippingDeviceListBySnCode(String[] snCode,String materialNo) { public List<AfterSalesShippingDevice> selectShippingDeviceListBySnCode(String[] snCode) {
return afterSalesShippingDeviceMapper.selectShippingDeviceListBySnCodeAndMaterialNo(snCode,materialNo); return afterSalesShippingDeviceMapper.selectShippingDeviceListBySnCodeAndMaterialNo(snCode);
} }
} }

1
ruoyi-admin/src/main/resources/mapper/aftersales/AfterSalesShippingDeviceMapper.xml

@ -124,7 +124,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<foreach item="snCode" collection="array" open="(" separator="," close=")"> <foreach item="snCode" collection="array" open="(" separator="," close=")">
#{snCode} #{snCode}
</foreach> </foreach>
and material_no = #{materialNo}
</select> </select>

Loading…
Cancel
Save