| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.example.erp.mapper.mm.BasicWarehouseTypeMapper"> |
| | | |
| | | <select id="getBasicWarehouseTypeTakeOut" > |
| | | select * from mm.basic_warehouse_type where type='领出'; |
| | | </select> |
| | | |
| | | <select id="getBasicWarehouseTypeRework" > |
| | | select * from mm.basic_warehouse_type where type='返工'; |
| | | </select> |
| | | |
| | | <select id="getBasicWarehouseType" > |
| | | select * from mm.basic_warehouse_type where type regexp #{type} group by operate_type_name; |
| | | </select> |
| | | |
| | | <select id="getBasicWarehouse" > |
| | | select operate_type from mm.basic_warehouse_type where type regexp #{type}; |
| | | </select> |
| | | |
| | | |
| | | |
| | | |
| | | </mapper> |