wms成品出库页面接口1

master
mengjiao 7 days ago
parent e548314080
commit 02b96ef6c7

@ -119,4 +119,13 @@ public class WmsFpStorageNewsSnController extends BaseController {
List<ProOrderWorkorder> proOrderWorkorderList= wmsFpStorageNewsSnService.insertBSK(proOrderWorkorder);
return proOrderWorkorderList;
}
/**
*
*/
@GetMapping(value = "/ListRecords")
public TableDataInfo ListRecords( WmsFpStorageNewsSn wmsFpStorageNewsSn) {
startPage();
List<WmsFpStorageNewsSn> list = wmsFpStorageNewsSnService.selectWmsFpStorageNewsSnRecordsList(wmsFpStorageNewsSn);
return getDataTable(list);
}
}

@ -95,4 +95,6 @@ public interface WmsFpStorageNewsSnMapper {
public void insertWmsFpStorageNewsSnRecords(WmsFpStorageNewsSn wmsFpStorageNewsSn3);
List<WmsFpStorageNewsSn> selectwmsFpStorageNewsGroupWaCode(@Param("productCode")String productCode);
List<WmsFpStorageNewsSn> selectWmsFpStorageNewsSnRecordsList(WmsFpStorageNewsSn wmsFpStorageNewsSn);
}

@ -66,4 +66,6 @@ public interface IWmsFpStorageNewsSnService {
List<ProOrderWorkorder> insertBSK(ProOrderWorkorder proOrderWorkorder);
List<WmsFpStorageNewsSn> BSKlist(WmsFpStorageNewsSn proOrderWorkorder);
List<WmsFpStorageNewsSn> selectWmsFpStorageNewsSnRecordsList(WmsFpStorageNewsSn wmsFpStorageNewsSn);
}

@ -188,4 +188,10 @@ public class WmsFpStorageNewsSnServiceImpl implements IWmsFpStorageNewsSnService
public List<WmsFpStorageNewsSn> BSKlist(WmsFpStorageNewsSn proOrderWorkorder) {
return wmsFpStorageNewsSnMapper.selectBSKList(proOrderWorkorder);
}
@Override
@DS("#header.poolName")
public List<WmsFpStorageNewsSn> selectWmsFpStorageNewsSnRecordsList(WmsFpStorageNewsSn wmsFpStorageNewsSn) {
return wmsFpStorageNewsSnMapper.selectWmsFpStorageNewsSnRecordsList(wmsFpStorageNewsSn);
}
}

@ -878,11 +878,12 @@ public class WmsProductPutServiceImpl implements IWmsProductPutService {
wmsFpStorageNewsSn3.setWhCode(wmsFpStorageNewsSn2.getWhCode());
wmsFpStorageNewsSn3.setWaCode(wmsFpStorageNewsSn2.getWaCode());
wmsFpStorageNewsSn3.setWlCode(wmsFpStorageNewsSn2.getWlCode());
wmsFpStorageNewsSn3.setOrderNo(wmsFpStorageNewsSn2.getOrderNo());
wmsFpStorageNewsSn3.setOrderNo(wmsSellOutEmbryo1.getDeliveryOrder());
wmsFpStorageNewsSn3.setProductCode(wmsFpStorageNewsSn2.getProductCode());
wmsFpStorageNewsSn3.setProductName(wmsFpStorageNewsSn2.getProductName());
wmsFpStorageNewsSn3.setSn(wmsFpStorageNewsSn2.getSn());
wmsFpStorageNewsSn3.setBatchNumber(wmsFpStorageNewsSn2.getBatchNumber());
wmsFpStorageNewsSn3.setUserDefined1(wmsSellOutEmbryo1.getStockOrder());//备货
wmsFpStorageNewsSn3.setUserDefined3(wmsFpStorageNewsSn2.getUserDefined3());
wmsFpStorageNewsSn3.setCreateTime(new Date());
wmsFpStorageNewsSn3.setCreateBy(wmsFpStorageNewsSn2.getCreateBy());

@ -583,4 +583,68 @@
product_code;
</select>
<select id="selectWmsFpStorageNewsSnRecordsList" parameterType="WmsFpStorageNewsSn" resultMap="WmsFpStorageNewsSnResult">
SELECT
storage_id,
wh_code,
wa_code,
wl_code,
order_no,
product_name,
product_code,
sn,
bar_code,
amount,
batch_number,
user_defined1,
user_defined2,
user_defined3,
user_defined4,
user_defined5,
user_defined6,
user_defined7,
user_defined8,
user_defined9,
user_defined10,
create_by,
gmt_create,
last_modified_by,
gmt_modified,
active_flag,
factory_code,
sap_factory_code
FROM
wms_fp_storage_news_sn_records
<where>
<if test="whCode != null and whCode != ''">and wh_code = #{whCode}</if>
<if test="waCode != null and waCode != ''">and wa_code = #{waCode}</if>
<if test="wlCode != null and wlCode != ''">and wl_code = #{wlCode}</if>
<if test="orderNo != null and orderNo != ''">and order_no = #{orderNo}</if>
<if test="productName != null and productName != ''">and product_name like concat('%', #{productName},
'%')
</if>
<if test="productCode != null and productCode != ''">and product_code like concat('%',#{productCode} ,
'%')</if>
<if test="sn != null and sn != ''">and sn = #{sn}</if>
<if test="barCode != null and barCode != ''">and bar_code = #{barCode}</if>
<if test="amount != null ">and amount = #{amount}</if>
<if test="batchNumber != null and batchNumber != ''">and batch_number = #{batchNumber}</if>
<if test="userDefined1 != null and userDefined1 != ''">and user_defined1 = #{userDefined1}</if>
<if test="userDefined2 != null and userDefined2 != ''">and user_defined2 = #{userDefined2}</if>
<if test="userDefined3 != null and userDefined3 != ''">and user_defined3 = #{userDefined3}</if>
<if test="userDefined4 != null and userDefined4 != ''">and user_defined4 = #{userDefined4}</if>
<if test="userDefined5 != null and userDefined5 != ''">and user_defined5 = #{userDefined5}</if>
<if test="userDefined6 != null and userDefined6 != ''">and user_defined6 = #{userDefined6}</if>
<if test="userDefined7 != null and userDefined7 != ''">and user_defined7 = #{userDefined7}</if>
<if test="userDefined8 != null and userDefined8 != ''">and user_defined8 = #{userDefined8}</if>
<if test="userDefined9 != null and userDefined9 != ''">and user_defined9 = #{userDefined9}</if>
<if test="userDefined10 != null and userDefined10 != ''">and user_defined10 = #{userDefined10}</if>
<if test="gmtCreate != null ">and gmt_create = #{gmtCreate}</if>
<if test="lastModifiedBy != null and lastModifiedBy != ''">and last_modified_by = #{lastModifiedBy}</if>
<if test="gmtModified != null ">and gmt_modified = #{gmtModified}</if>
<if test="activeFlag != null and activeFlag != ''">and active_flag = #{activeFlag}</if>
<if test="factoryCode != null and factoryCode != ''">and factory_code = #{factoryCode}</if>
<if test="sapFactoryCode != null and sapFactoryCode != ''">and sap_factory_code = #{sapFactoryCode}</if>
</where>
</select>
</mapper>

Loading…
Cancel
Save