| | |
| | | <result column="update_by" property="updateBy" /> |
| | | <result column="update_time" property="updateTime" /> |
| | | <result column="memo" property="memo" /> |
| | | <result column="examine" property="examine" /> |
| | | <result column="owner" property="owner" /> |
| | | <result column="payment" property="payment" /> |
| | | |
| | | </resultMap> |
| | | <!-- 通用查询映射结果 --> |
| | |
| | | and matnr = #{matnr} |
| | | ORDER BY NEWID() |
| | | </select> |
| | | |
| | | <select id="getLocCountLocDetl" resultMap="BaseResultMap2"> |
| | | SELECT TOP ${count} |
| | | * |
| | | FROM |
| | | man_loc_detl |
| | | WHERE |
| | | 1 = 1 |
| | | and loc_no = #{loc_no} |
| | | ORDER BY NEWID() |
| | | </select> |
| | | |
| | | |
| | | <select id="getLocCount" resultType="java.lang.String"> |
| | | SELECT loc_no FROM man_loc_check |
| | | GROUP BY loc_no |
| | | </select> |
| | | <select id="getOwnerCount" resultType="com.zy.asrs.entity.LocOwner"> |
| | | select * from bas_loc_owner |
| | | </select> |
| | | <select id="getOwnerCountLocDetl" resultMap="BaseResultMap2"> |
| | | SELECT TOP ${count} |
| | | * |
| | | FROM |
| | | man_loc_detl |
| | | WHERE |
| | | 1 = 1 |
| | | and owner = #{owner} |
| | | ORDER BY NEWID() |
| | | </select> |
| | | |
| | | </mapper> |