| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | import java.util.stream.Collectors; |
| | | |
| | |
| | | // todo 获取流程分类信息,此处为例子 |
| | | SysCategory category1 = new SysCategory(); |
| | | category1.setId("drApproval"); |
| | | category1.setName("导入审批流程"); |
| | | category1.setName("指派NC程序至设备"); |
| | | SysCategory category2 = new SysCategory(); |
| | | category2.setId("ggApproval"); |
| | | category2.setName("设计更改单流程"); |
| | | SysCategory category3 = new SysCategory(); |
| | | category3.setId("jjApproval"); |
| | | category3.setName("机加工艺规程流程"); |
| | | SysCategory category4 = new SysCategory(); |
| | | category4.setId("lsApproval"); |
| | | category4.setName("临时工艺规程流程"); |
| | | SysCategory category5 = new SysCategory(); |
| | | category5.setId("fxApproval"); |
| | | category5.setName("返修工艺规程流程"); |
| | | SysCategory category6 = new SysCategory(); |
| | | category6.setId("jjggApproval"); |
| | | category6.setName("机加更改单流程"); |
| | | ArrayList<SysCategory> sysCategories = Lists.newArrayList(category1,category2,category3,category4,category5,category6); |
| | | return sysCategories; |
| | | category2.setName("NC程序签派"); |
| | | return Lists.newArrayList(category1,category2); |
| | | } |
| | | |
| | | @Override |