Browse Source

修改wms为storage

master
dimengzhe 1 year ago
parent
commit
90e7749734
  1. 48
      src/main/java/com/yxt/storage/biz/storageansbill/StorageAnsBillMapper.xml
  2. 4
      src/main/java/com/yxt/storage/biz/storagedistributebill/StorageDistributeBillMapper.xml

48
src/main/java/com/yxt/storage/biz/storageansbill/StorageAnsBillMapper.xml

@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.yxt.storage.biz.storageansbill.StorageAnsBillMapper">
<select id="listPage" resultType="com.yxt.storage.biz.storageansbilldetail.StorageAnsBillDetailVo">
select wd.goodsSkuSid, wd.goodsSpuName, wd.goodsSkuCode, wd.goodsSkuTitle, wd.goodSpuSid
from storage_ans_bill_detail wd
<where>
${ew.sqlSegment}
</where>
</select>
<select id="listPages" resultType="com.yxt.storage.biz.storageansbill.StorageAnsBillVo">
select wab.sid,
wab.billNo,
DATE_FORMAT(wab.createTime, '%Y-%m-%d') as createTime,
wab.createByName,
wab.sourceBillNo,
wab.busTypeValue,
wab.supplierName,
wab.contact,
wab.mobile,
DATE_FORMAT(wab.deliveryDate, '%Y-%m-%d') as deliveryDate,
wab.billState,
wab.reviewStatus,
wab.refuseReason
from storage_ans_bill wab
<where>
${ew.sqlSegment}
</where>
order by wab.id desc
</select>
<select id="details" resultType="com.yxt.storage.biz.storageansbill.StorageAnsDetailsVo">
select wab.billNo,
wab.createByName,
DATE_FORMAT(wab.createTime, '%Y-%m-%d') as createTime,
wab.sourceBillNo,
wab.busTypeKey,
wab.busTypeValue,
wab.supplierSid,
wab.supplierName,
DATE_FORMAT(wab.deliveryDate, '%Y-%m-%d') as deliveryDate,
wab.billState,
wab.reviewStatus
from storage_ans_bill wab
where sid = #{sid}
</select>
</mapper>

4
src/main/java/com/yxt/storage/biz/storagedistributebill/StorageDistributeBillMapper.xml

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.yxt.storage.biz.storagedistributebill.StorageDistributeBillMapper">
</mapper>
Loading…
Cancel
Save