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.

35 lines
1.4 KiB

6 months ago
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  3. <mapper namespace="com.gaotao.modules.print.dao.OutBoxPrintMapper">
  4. <select id="getBoxLabelSO" resultType="com.gaotao.modules.print.entity.vo.OutBoxPrintVo">
  5. Select 客户编码 as customer_id, 数量 as sum_qty, 每箱数量 as box_qty
  6. from view_Print_Box_Label_SO
  7. where 订单号 = #{orderNo}
  8. </select>
  9. <select id="getBoxLabelSOByRollNo" resultType="com.gaotao.modules.print.entity.vo.OutBoxPrintVo">
  10. Select 客户编码 as customer_id, 数量 as sum_qty, 每箱数量 as box_qty
  11. from view_Print_Box_Label
  12. where 卷号 = #{rollNo}
  13. </select>
  14. <select id="getReportFileByCustomer" resultType="java.util.Map">
  15. exec dbo.Get_Report_FileList #{customerId}, #{reportFamily}
  16. </select>
  17. <select id="getReportSubFileList" resultType="java.util.Map">
  18. exec Get_Report_SubFileList #{reportId}, #{customerId}, #{reportFamily}, #{defaultFlag}
  19. </select>
  20. <select id="getBoxLabelPrintData" resultType="java.util.Map">
  21. Select top 1 *
  22. from view_Print_Box_Label_SO
  23. where 生产单号 = #{orderNo}
  24. </select>
  25. <select id="getBoxLabelPrintRollData" resultType="java.util.Map">
  26. Select top 1 *
  27. from dbo.view_Print_Box_Label
  28. where 卷号 = #{rollNo}
  29. </select>
  30. </mapper>