diff --git a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/cook/CookDishesTypeMapper.xml b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/cook/CookDishesTypeMapper.xml index 8391b2c..ac13dbc 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/cook/CookDishesTypeMapper.xml +++ b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/cook/CookDishesTypeMapper.xml @@ -23,7 +23,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - + select dishes_type_id as dishesTypeId, dishes_type_name as dishesTypeName,dishes_type_id as id,parent_id as parentId,area_id as areaId from cook_dishes_type + ORDER BY create_time @@ -105,9 +106,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - delete from cook_dishes_type where dishes_type_id in + delete from cook_dishes_type where dishes_type_id in #{dishesTypeId} - \ No newline at end of file +