Compare commits
2 Commits
338cb16634
...
c0ce6236f3
| Author | SHA1 | Date | |
|---|---|---|---|
| c0ce6236f3 | |||
| e5e3c8723c |
@@ -2,7 +2,6 @@ package com.ruoyi.cms.controller.cms;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.common.annotation.Anonymous;
|
||||
import com.ruoyi.common.core.domain.entity.Industry;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
@@ -36,7 +35,6 @@ import javax.servlet.http.HttpServletResponse;
|
||||
@RestController
|
||||
@RequestMapping("/cms/industry")
|
||||
@Api(tags = "后台:行业管理")
|
||||
@Anonymous
|
||||
public class IndustryController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
@@ -136,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)
|
||||
|
||||
Reference in New Issue
Block a user