ColOdr.xml 618 B

12345678910111213141516
  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.oqpo.api.mapper.inoutmng.ColOdrMapper">
  4. <select id="selectColRtnIngCnt" resultType="int">
  5. select count(*) /* ColOdr.selectColRtnIngCnt */
  6. from col_odr_base_info base
  7. ,col_odr_dtl_ptcl ptcl
  8. where base.col_cmd_unq_no = ptcl.col_cmd_unq_no
  9. and base.brand_id = #{brandId}
  10. and base.col_cmd_st_cd in ('COL1','COL2')
  11. and ptcl.rtn_podr_unq_no = #{rtnPodrUnqNo}
  12. </select>
  13. </mapper>