| | |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.vincent.rsf.server.manager.mapper.LocMapper"> |
| | | |
| | | <select id="getLocPies" resultType="com.vincent.rsf.server.manager.controller.dto.LocUsageDto"> |
| | | SELECT |
| | | use_status AS `name`, |
| | | COUNT(`code`) `value`, |
| | | SUM(loi.anfme) anfme |
| | | FROM |
| | | man_loc l |
| | | INNER JOIN man_loc_item loi ON l.id = loi.loc_id |
| | | GROUP BY |
| | | use_status |
| | | </select> |
| | | <select id="getLocDetls" resultType="com.vincent.rsf.server.manager.controller.dto.LocStockDto"> |
| | | |
| | | </select> |
| | | </mapper> |