| | |
| | | <mapper namespace="com.zy.asrs.mapper.BasWhsMapper"> |
| | | |
| | | <!-- 通用查询映射结果 --> |
| | | <resultMap id="BaseResultMap" type="com.zy.asrs.entity.BasWhs"> |
| | | <resultMap id="BaseResultMap" type="com.zy.asrs.entity.BasWhsType"> |
| | | <id column="id" property="id" /> |
| | | <result column="whs_desc" property="whsDesc" /> |
| | | <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="identifying" property="identifying" /> |
| | | |
| | | </resultMap> |
| | | |
| | | <select id="selectByIdentifying" resultMap="BaseResultMap"> |
| | | select top 1 * |
| | | from asr_bas_whs_type |
| | | where 1=1 |
| | | and identifying = #{identifying} |
| | | </select> |
| | | |
| | | </mapper> |