| | |
| | | <result property="dr" column="DR" /> |
| | | <result property="ts" column="TS" /> |
| | | <result property="wmsFlag" column="wms_flag" /> |
| | | <result property="wmsMemo" column="wms_memo" /> |
| | | </resultMap> |
| | | |
| | | <sql id="Base_Column_List"> |
| | |
| | | DR,TS,wms_flag |
| | | </sql> |
| | | |
| | | <select id="selectZk" resultType="java.lang.String"> |
| | | <select id="selectZkIn" resultType="java.lang.String"> |
| | | select distinct VBILLCODE |
| | | from ncc_sale_xsfhmx_wms |
| | | where wms_flag != 1 and fstatusflag = 2 limit 100 |
| | | from ncc_sc_zkmxb_wms |
| | | where wms_flag != 1 and DJZT = 4 and dr =0 and bdr =0 |
| | | <if test="ids != null"> |
| | | and RKCKBM in |
| | | <foreach item="id" collection="ids" separator="," open="(" close=")" index=""> |
| | | #{id} |
| | | </foreach> |
| | | </if> |
| | | limit 100 |
| | | </select> |
| | | |
| | | <select id="selectZkOut" resultType="java.lang.String"> |
| | | select distinct VBILLCODE |
| | | from ncc_sc_zkmxb_wms |
| | | where wms_flag != 1 and DJZT = 4 and dr =0 and bdr =0 |
| | | <if test="ids != null"> |
| | | and CKCKBM in |
| | | <foreach item="id" collection="ids" separator="," open="(" close=")" index=""> |
| | | #{id} |
| | | </foreach> |
| | | </if> |
| | | limit 100 |
| | | </select> |
| | | </mapper> |