| | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.vci.ubcs.code.applyjtcodeservice.vo.BaseModelVO; |
| | | import com.vci.ubcs.code.bo.CodeClassifyFullInfoBO; |
| | | import com.vci.ubcs.code.dto.CodeOrderDTO; |
| | | import com.vci.ubcs.code.entity.CodeClassify; |
| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | |
| | | List<CodeClassifyValueVO> codeClassifyValueVOS= codeClassifyValueService.listCodeClassifyValueBySecOid(secOid,parentClassifyValueOid); |
| | | return R.data(codeClassifyValueVOS); |
| | | } |
| | | |
| | | /** |
| | | * 主题库分类树 |
| | | * @param treeQueryObject 树形查询对象 |
| | |
| | | */ |
| | | @GetMapping("/treeCodeClassify") |
| | | public R<List<Tree>> treeCodeClassify(TreeQueryObject treeQueryObject) { |
| | | List<Tree> treeList= codeClassifyService. treeCodeClassify(treeQueryObject); |
| | | List<Tree> treeList = codeClassifyService.treeCodeClassify(treeQueryObject); |
| | | return R.data(treeList); |
| | | } |
| | | |
| | |
| | | * @return 执行的结果 |
| | | */ |
| | | @GetMapping("/defaultReferDataGrid") |
| | | public R<IPage<BaseModel>> defaultReferDataGrid(UIFormReferVO referConfigVO, BaseQueryObject baseQueryObject){ |
| | | IPage<BaseModel> iPage= mdmEngineService.referDataGrid(referConfigVO,baseQueryObject); |
| | | public R<IPage<BaseModelVO>> defaultReferDataGrid(UIFormReferVO referConfigVO, BaseQueryObject baseQueryObject){ |
| | | IPage<BaseModelVO> iPage= mdmEngineService.referDataGrid(referConfigVO,baseQueryObject); |
| | | return R.data(iPage); |
| | | |
| | | } |
| | |
| | | public R checkKeyAttrOnOrderFordatas(@RequestBody CodeOrderDTO orderDTO) throws Exception { |
| | | return R.data(mdmEngineService.checkKeyAttrOnOrderFordatas(orderDTO)); |
| | | } |
| | | |
| | | /** |
| | | * 集团/企业码段判断 |
| | | * @param classifyGroupCode 传入数据 ,classifyGroupCode:配置的中的分类顶节点 |
| | | * @param oid 传入数据 ,选择节点的oid--,nowApplyCode:当前申请编码的分类 |
| | | * @return 执行结果 |
| | | */ |
| | | @GetMapping("/checkGroupCode") |
| | | @VciBusinessLog(operateName = "集团/企业码段判断") |
| | | public R checkGroupCode(String oid,String classifyGroupCode) throws Exception { |
| | | Map<String,String> codtionMap=new HashMap<>(); |
| | | codtionMap.put("oid",oid); |
| | | codtionMap.put("classifyGroupCode",classifyGroupCode); |
| | | return mdmEngineService.checkGroupCode(codtionMap); |
| | | } |
| | | } |