| | |
| | | |
| | | <!-- 通用查询映射结果 --> |
| | | <resultMap id="BaseResultMap" type="com.zy.asrs.entity.BasJar"> |
| | | <result column="jar_no" property="jarNo" /> |
| | | <id column="jar_no" property="jarNo" /> |
| | | <result column="region" property="region" /> |
| | | <result column="jar_code" property="jarCode" /> |
| | | <result column="sta_no" property="staNo" /> |
| | |
| | | <result column="right_in_enable" property="rightInEnable" /> |
| | | <result column="right_out_enable" property="rightOutEnable" /> |
| | | <result column="enter_ste_no" property="enterSteNo" /> |
| | | <result column="out_ste_id" property="outSteId" /> |
| | | <result column="enter_rgv_id" property="enterRgvId" /> |
| | | <result column="out_rgv_id" property="outRgvId" /> |
| | | <result column="out_ste_no" property="outSteNo" /> |
| | | <result column="enter_rgv_no" property="enterRgvNo" /> |
| | | <result column="out_rgv_no" property="outRgvNo" /> |
| | | <result column="burial" property="burial" /> |
| | | |
| | | </resultMap> |
| | | |
| | | <select id="selectByJarNo" resultMap="BaseResultMap"> |
| | | select top 1 * from asr_bas_jar |
| | | where 1=1 |
| | | and jar_no=0 |
| | | order by id |
| | | </select> |
| | | |
| | | </mapper> |