diff --git a/ruoyi-bussiness/src/main/java/com/ruoyi/cms/controller/cms/IndustryController.java b/ruoyi-bussiness/src/main/java/com/ruoyi/cms/controller/cms/IndustryController.java index bef602f..db5e103 100644 --- a/ruoyi-bussiness/src/main/java/com/ruoyi/cms/controller/cms/IndustryController.java +++ b/ruoyi-bussiness/src/main/java/com/ruoyi/cms/controller/cms/IndustryController.java @@ -134,6 +134,10 @@ public class IndustryController extends BaseController /** * 修改行业父级代码 + * select * from industry where length(remark)=1 order by order_num; + * select * from industry where length(remark)=3 and remark like 'A%' order by order_num; + * select * from industry where length(remark)=4 and remark like 'A01%' order by order_num; + * select * from industry where length(remark)=5 and remark like 'A011%' order by order_num; */ @PostMapping("/updateParentHierarchy") @Transactional(rollbackFor = Exception.class)