demand: TMS系统 - 订单管理 - 进仓对货 - 导出货物明细 - 缺少 件数和重量 两个数值

committer: heyu
This commit is contained in:
aike 2025-10-30 11:32:11 +08:00
parent 119400c7c3
commit 6549f6a94d

View File

@ -3,7 +3,7 @@
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.xdadan.erp.emis.mapper.EmisWarehouseInMapper">
<resultMap type="EmisWarehouseIn" id="BaseEmisWarehouseInResult" extends="com.xdadan.erp.emis.mapper.EmisBaseMapper.EmisBaseResult">
<result property="id" column="id" />
<result property="serialNo" column="serial_no" />
@ -158,7 +158,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectEmisWarehouseInList" parameterType="EmisWarehouseIn" resultMap="EmisWarehouseInResult">
select id, serial_no, in_no, order_sn, bill_code, customer_code, customer_name, entry_date, confirm_status, confirm_date, used_status, status, stock_in_flag, bl_upload_pic, total_parcel_qty, total_volume, total_weight, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time, create_site, update_site
from emis_warehouse_in a
<where>
<where>
del_flag='0'
<if test="id != null "> and id = #{id}</if>
<if test="serialNo != null and serialNo != ''"> and serial_no like concat('%', #{serialNo}, '%')</if>
@ -295,7 +295,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</where>
order by create_time desc
</select>
<select id="selectEmisWarehouseInById" parameterType="Long" resultMap="EmisWarehouseInResult">
select id, serial_no, in_no, order_sn, bill_code, customer_code, customer_name, entry_date, confirm_status, confirm_date, used_status, status, stock_in_flag, bl_upload_pic, total_parcel_qty, total_volume, total_weight, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time, create_site, update_site
from emis_warehouse_in a
@ -324,8 +324,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
wib.in_no as batch_in_no,
wib.in_batch_no as in_batch_no,
wib.entry_date as batch_entry_date,
wib.total_parcel_qty as batch_total_parcel_qty,
wib.total_weight as batch_total_weight,
wib.parcel_qty as batch_total_parcel_qty,
wib.bill_weight as batch_total_weight,
wib.total_volume as batch_total_volume,
wib.prepare_in_express,
wib.prepare_in_bill_code,
@ -482,4 +482,4 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
#{id}
</foreach>
</delete>
</mapper>
</mapper>