| | |
| | | |
| | | <!-- 通用查询映射结果 --> |
| | | <resultMap id="BaseResultMap" type="com.zy.asrs.entity.BasDevp"> |
| | | <id column="dev_no" property="devNo" /> |
| | | <result column="dec_desc" property="decDesc" /> |
| | | <result column="dev_mk" property="devMk" /> |
| | | <result column="in_enable" property="inEnable" /> |
| | | <result column="out_enable" property="outEnable" /> |
| | | <result column="autoing" property="autoing" /> |
| | | <result column="loading" property="loading" /> |
| | | <result column="canining" property="canining" /> |
| | | <result column="canouting" property="canouting" /> |
| | | <result column="fronting" property="fronting" /> |
| | | <result column="rearing" property="rearing" /> |
| | | <result column="uping" property="uping" /> |
| | | <result column="downing" property="downing" /> |
| | | <result column="inreq1" property="inreq1" /> |
| | | <result column="inreq2" property="inreq2" /> |
| | | <result column="wrk_no" property="wrkNo" /> |
| | | <result column="wrk_no1" property="wrkNo1" /> |
| | | <result column="ctn_type" property="ctnType" /> |
| | | <result column="barcode" property="barcode" /> |
| | | <result column="in_qty" property="inQty" /> |
| | | <result column="row1" property="row1" /> |
| | | <result column="io_time" property="ioTime" /> |
| | | <result column="area" property="area" /> |
| | | <result column="in_ok" property="inOk" /> |
| | | <result column="out_ok" property="outOk" /> |
| | | <result column="loc_type1" property="locType1" /> |
| | | <result column="loc_type2" property="locType2" /> |
| | | <result column="loc_type3" property="locType3" /> |
| | | <result column="modi_user" property="modiUser" /> |
| | | <result column="modi_time" property="modiTime" /> |
| | | <result column="appe_user" property="appeUser" /> |
| | | <result column="appe_time" property="appeTime" /> |
| | | <result column="std_qty" property="stdQty" /> |
| | | <result column="min_wt" property="minWt" /> |
| | | <result column="max_wt" property="maxWt" /> |
| | | <result column="gross_wt" property="grossWt" /> |
| | | <result column="cart_pos" property="cartPos" /> |
| | | <id column="id" property="id" /> |
| | | <result column="devp_no" property="devpNo" /> |
| | | <result column="status" property="status" /> |
| | | <result column="create_by" property="createBy" /> |
| | | <result column="create_time" property="createTime" /> |
| | | <result column="update_by" property="updateBy" /> |
| | | <result column="update_time" property="updateTime" /> |
| | | <result column="memo" property="memo" /> |
| | | <result column="station_list" property="stationList" /> |
| | | <result column="barcode_station_list" property="barcodeStationList" /> |
| | | |
| | | </resultMap> |
| | | |
| | | <select id="getAvailableInSite" resultType="java.lang.Integer"> |
| | | select |
| | | abd.dev_no |
| | | from asr_bas_devp abd |
| | | left join asr_sta_desc asd on abd.dev_no = asd.stn_no |
| | | where 1=1 |
| | | and asd.type_no = #{typeNo} |
| | | and abd.in_enable = 'Y' |
| | | group by abd.dev_no |
| | | </select> |
| | | |
| | | <select id="getAvailableOutSite" resultType="java.lang.Integer"> |
| | | select |
| | | abd.dev_no |
| | | from asr_bas_devp abd |
| | | left join asr_sta_desc asd on abd.dev_no = asd.stn_no |
| | | where 1=1 |
| | | and asd.type_no = #{typeNo} |
| | | and abd.out_enable = 'Y' |
| | | group by abd.dev_no |
| | | </select> |
| | | |
| | | </mapper> |