| | |
| | | <result column="io_time" property="ioTime" /> |
| | | <result column="modi_time" property="modiTime" /> |
| | | <result column="appe_time" property="appeTime" /> |
| | | <result column="jar_loc_digit" property="jarLocDigit" /> |
| | | |
| | | </resultMap> |
| | | |
| | | <select id="getJarMastByJarId" resultMap="BaseResultMap"> |
| | | select * from asr_bas_jar_mast |
| | | where 1=1 |
| | | and jar_id = #{jarId} |
| | | order by jar_loc_digit |
| | | </select> |
| | | |
| | | <select id="getJarMastByJarIdMax" resultMap="BaseResultMap"> |
| | | select top 1 * from asr_bas_jar_mast |
| | | where 1=1 |
| | | and jar_id = #{jarId} |
| | | order by jar_loc_digit desc |
| | | </select> |
| | | |
| | | <select id="getJarMastByJarIdMin" resultMap="BaseResultMap"> |
| | | select top 1 * from asr_bas_jar_mast |
| | | where 1=1 |
| | | and jar_id = #{jarId} |
| | | order by jar_loc_digit asc |
| | | </select> |
| | | |
| | | <select id="getJarMastByJarIdCount" resultType="Integer"> |
| | | select count(1) from asr_bas_jar_mast |
| | | where 1=1 |
| | | and jar_id = #{jarId} |
| | | </select> |
| | | |
| | | </mapper> |