You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.4 KiB
36 lines
1.4 KiB
<?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.gaotao.modules.print.dao.OutBoxPrintMapper">
|
|
|
|
<select id="getBoxLabelSO" resultType="com.gaotao.modules.print.entity.vo.OutBoxPrintVo">
|
|
Select 客户编码 as customer_id, 数量 as sum_qty, 每箱数量 as box_qty
|
|
from view_Print_Box_Label_SO
|
|
where 订单号 = #{orderNo}
|
|
</select>
|
|
<select id="getBoxLabelSOByRollNo" resultType="com.gaotao.modules.print.entity.vo.OutBoxPrintVo">
|
|
Select 客户编码 as customer_id, 数量 as sum_qty, 每箱数量 as box_qty
|
|
from view_Print_Box_Label
|
|
where 卷号 = #{rollNo}
|
|
</select>
|
|
<select id="getReportFileByCustomer" resultType="java.util.Map">
|
|
exec dbo.Get_Report_FileList #{customerId}, #{reportFamily}
|
|
</select>
|
|
<select id="getReportSubFileList" resultType="java.util.Map">
|
|
exec Get_Report_SubFileList #{reportId}, #{customerId}, #{reportFamily}, #{defaultFlag}
|
|
</select>
|
|
|
|
<select id="getBoxLabelPrintData" resultType="java.util.Map">
|
|
Select top 1 *
|
|
from view_Print_Box_Label_SO
|
|
where 生产单号 = #{orderNo}
|
|
|
|
</select>
|
|
<select id="getBoxLabelPrintRollData" resultType="java.util.Map">
|
|
Select top 1 *
|
|
from dbo.view_Print_Box_Label
|
|
where 卷号 = #{rollNo}
|
|
</select>
|
|
|
|
|
|
</mapper>
|