diff --git a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/ims/ProductionPlanDetailMapper.xml b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/ims/ProductionPlanDetailMapper.xml index c86c600..5eebfbe 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/ims/ProductionPlanDetailMapper.xml +++ b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/ims/ProductionPlanDetailMapper.xml @@ -54,7 +54,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and ippd.goods_type = #{goodsType} - + where ippd.production_plan_id = #{productionId} and ippd.del_flag = '0' + order by ippd.detail_date - + insert into ims_production_plan_detail @@ -135,4 +136,4 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{productionPlanId} - \ No newline at end of file + diff --git a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/ims/ProductionPurchaseOrderMapper.xml b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/ims/ProductionPurchaseOrderMapper.xml index 5e56c5f..2048c99 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/ims/ProductionPurchaseOrderMapper.xml +++ b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/ims/ProductionPurchaseOrderMapper.xml @@ -24,7 +24,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - + - + insert into ims_production_purchase_order @@ -110,9 +110,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - delete from ims_production_purchase_order where id in + delete from ims_production_purchase_order where id in #{id} - \ No newline at end of file + diff --git a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/ims/WarehouseInfoMapper.xml b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/ims/WarehouseInfoMapper.xml index d797154..4567ae7 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/ims/WarehouseInfoMapper.xml +++ b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/ims/WarehouseInfoMapper.xml @@ -43,7 +43,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - + - + insert into ims_warehouse_info @@ -140,7 +140,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" warehouse_name = #{warehouseName}, user_id = #{userId}, manager = #{manager}, - managerPhone = #{managerPhone}, + manager_phone = #{managerPhone}, fetch_user_id = #{fetchUserId}, region_province = #{regionProvince}, region_city = #{regionCity}, @@ -163,9 +163,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - delete from ims_warehouse_info where warehouse_id in + delete from ims_warehouse_info where warehouse_id in #{warehouseId} - \ No newline at end of file +