chenlu
2024-04-08 7742e8433ad6eb4488298384ee42dc9f8940b7d0
north-glass-erp/target/classes/mapper/mm/BasicWarehouseType.xml
@@ -5,11 +5,19 @@
<mapper namespace="com.example.erp.mapper.mm.BasicWarehouseTypeMapper">
    <select id="getBasicWarehouseTypeTakeOut" >
        select * from mm.basic_warehouse_type where operate_type='领出';
        select * from mm.basic_warehouse_type where type='领出';
    </select>
    <select id="getBasicWarehouseTypeRework" >
        select * from mm.basic_warehouse_type where operate_type='返工';
        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=#{type};
    </select>