| | |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/hosp/order") |
| | | @Api(tags = "PC端 ----体检记录接口") |
| | | @Api(tags = "PC端 ----体检记录接口 OrderController") |
| | | @Slf4j |
| | | public class TjOrderController extends BaseController { |
| | | @Resource |
| | |
| | | |
| | | log.info("该登记人的his就诊号是: " + tjOrder.getCardId()); |
| | | //团体 |
| | | if ("1".equals(tjOrder.getTjType())) { |
| | | /* if ("1".equals(tjOrder.getTjType())) { |
| | | // asyncService.ttextracted(tjOrder, tjCustomer, sysUser, tjReservation, tjFlowingWater); |
| | | ttextracted(tjOrder, tjCustomer, sysUser, tjReservation, tjFlowingWater); |
| | | } |
| | | }*/ |
| | | //个人 |
| | | if ("2".equals(tjOrder.getTjType())) { |
| | | /* if ("2".equals(tjOrder.getTjType())) { |
| | | //asyncService.newSaveextracted(tjOrder, tjCustomer, discount, sysUser, tjReservation, tjFlowingWater); |
| | | newSaveextracted(tjOrder, tjCustomer, discount, sysUser, tjReservation, tjFlowingWater); |
| | | } |
| | | }*/ |
| | | // 查询 对接Lis、Pacs申请如果类型包含在配置内则使用对接lis、pacs |
| | | if (lisApiMethod.isUseLisAndPacsRegister(tjOrder)) { |
| | | // 这是上面个人方法引入数据 |
| | |
| | | if (!ajaxResult.get("code").toString().equals("200")) return ajaxResult; |
| | | tjOrderDetailService.updateTjOrderDetailsByOrderId(String.valueOf(tjOrder.getOrderId()), |
| | | sysUser.getNickName(), String.valueOf(sysUser.getUserId()), String.valueOf(tjFlowingWater.getTjSerialNumber())); |
| | | remarkService.updateTjOrderRemarkSfbzByJxbzisnull(tjOrder.getOrderId().toString(), tjFlowingWater.getTjSerialNumber().toString()); |
| | | List<TjOrderDetail> detailList = tjOrderDetailService.getCaiYangDengJi(tjOrder.getOrderId()); |
| | | addCaiYangDengJi(detailList, !detailList.isEmpty(), tjOrder, sysUser, null); |
| | | } else { |
| | | newSaveextracted(tjOrder, tjCustomer, discount, sysUser, tjReservation, tjFlowingWater); |
| | | List<TjOrderDetail> detailList = tjOrderDetailService.getCaiYangDengJi(tjOrder.getOrderId()); |
| | | addCaiYangDengJi(detailList, !detailList.isEmpty(), tjOrder, sysUser, null); |
| | | |
| | | hisApiMethod.tijianshenqing(tjCustomer, DateUtil.format(date1, "yyyy-MM-dd HH:mm:ss"), tjOrder.getCardId()); |
| | | } |
| | | // hisApiMethod.tijianshenqing(tjCustomer, DateUtil.format(date1, "yyyy-MM-dd HH:mm:ss"), tjOrder.getCardId()); |
| | | return AjaxResult.success(tjNumber); |
| | | } else { |
| | | tjCustomer.setCardId(tjOrder.getTjNumber()); |
| | |
| | | } |
| | | |
| | | //团体 |
| | | if ("1".equals(tjOrder.getTjType())) { |
| | | // asyncService.ttextracted(tjOrder, tjCustomer, sysUser, tjReservation, tjFlowingWater); |
| | | asyncService.ttextracted(tjOrder, tjCustomer, sysUser, tjReservation, tjFlowingWater); |
| | | } |
| | | // if ("1".equals(tjOrder.getTjType())) { |
| | | // ttextracted(tjOrder, tjCustomer, sysUser, tjReservation, tjFlowingWater); |
| | | //// asyncService.ttextracted(tjOrder, tjCustomer, sysUser, tjReservation, tjFlowingWater); |
| | | // List<TjOrderDetail> detailList = tjOrderDetailService.getCaiYangDengJi(tjOrder.getOrderId()); |
| | | // addCaiYangDengJi(detailList, !detailList.isEmpty(), tjOrder, sysUser, null); |
| | | // return AjaxResult.success(tjNumber); |
| | | // } |
| | | //个人 |
| | | if ("2".equals(tjOrder.getTjType())) { |
| | | //asyncService.newSaveextracted(tjOrder, tjCustomer, discount, sysUser, tjReservation, tjFlowingWater); |
| | | // if ("2".equals(tjOrder.getTjType())) { |
| | | // //asyncService.newSaveextracted(tjOrder, tjCustomer, discount, sysUser, tjReservation, tjFlowingWater); |
| | | // newSaveextracted(tjOrder, tjCustomer, discount, sysUser, tjReservation, tjFlowingWater); |
| | | // List<TjOrderDetail> detailList = tjOrderDetailService.getCaiYangDengJi(tjOrder.getOrderId()); |
| | | // addCaiYangDengJi(detailList, !detailList.isEmpty(), tjOrder, sysUser, null); |
| | | // |
| | | // String s = configService.selectConfigByKey("is_request_common_his_api"); |
| | | // if (null != s && s.equals("Y")) { |
| | | // String apiUrl = configService.selectConfigByKey("common_api_url"); |
| | | // String hospbm = configService.selectConfigByKey("common_api_service_hospbm"); |
| | | // HashMap<String, Object> map = new HashMap<>(); |
| | | // map.put("pationId", tjCustomer.getPationId()); |
| | | // map.put("cardId", tjCustomer.getHisJzkh()); |
| | | // map.put("tjNum", tjFlowingWater.getTjSerialNumber()); |
| | | // map.put("kaiDanKs", "7805"); |
| | | // // 收费标志 1待售费 2待退费 |
| | | // map.put("shouTuiStatus", "1"); |
| | | // |
| | | // JSONArray array = JSONUtil.createArray(); |
| | | // LambdaQueryWrapper<TbTransition> wrapper = new LambdaQueryWrapper<>(); |
| | | // wrapper.eq(TbTransition::getTjNum, tjOrder.getTjNumber()); |
| | | // wrapper.eq(TbTransition::getCusId, tjCustomer.getCusIdcard()); |
| | | // wrapper.eq(TbTransition::getCardId, tjCustomer.getCardId()); |
| | | // wrapper.isNotNull(TbTransition::getOrdPrice); |
| | | // wrapper.gt(TbTransition::getOrdPrice, 0); |
| | | // |
| | | // List<TbTransition> list = tbTransitionService.list(wrapper); |
| | | // for (TbTransition transition : list) { |
| | | // LambdaQueryWrapper<TjProject> wrapper1 = new LambdaQueryWrapper<>(); |
| | | // wrapper1.eq(TjProject::getProId, transition.getProId()); |
| | | // TjProject project = projectService.getOne(wrapper1); |
| | | // |
| | | // LambdaQueryWrapper<SysDept> wrapper2 = new LambdaQueryWrapper<>(); |
| | | // wrapper2.eq(SysDept::getDeptId, project.getDeptId()); |
| | | // SysDept dept = sysDeptService.getOne(wrapper2); |
| | | // |
| | | // JSONObject obj = JSONUtil.createObj(); |
| | | // Integer sl = project.getSl(); |
| | | // BigDecimal danjia = transition.getOrdPrice(); |
| | | // BigDecimal allPrice = danjia.multiply(new BigDecimal(sl)); |
| | | // obj.putOpt("danJia", danjia); |
| | | // obj.putOpt("jieSuanJe", allPrice); |
| | | // obj.putOpt("shuliang", sl); |
| | | // obj.putOpt("zhiXingKs", dept.getDeptId()); |
| | | // obj.putOpt("zhiXingKsMc", dept.getDeptName()); |
| | | // obj.putOpt("shouFeiXmId", project.getHisXmbm()); |
| | | // obj.putOpt("shouFeiXmMc", project.getHisXmmc()); |
| | | // |
| | | //// obj.putOpt("zhiXingKs","7805"); |
| | | //// obj.putOpt("zhiXingKsMc","体检科"); |
| | | //// obj.putOpt("shouFeiXmId","4735346"); |
| | | //// obj.putOpt("shouFeiXmMc","体检费"); |
| | | // array.add(obj); |
| | | // } |
| | | // map.put("feiYongInfoList", array); |
| | | // |
| | | // String post = HttpClientUtils.sendPost(apiUrl + "/api/his/" + hospbm + "/creatCostInfo", map); |
| | | // JSONObject object = JSONUtil.parseObj(post); |
| | | // if (object.getInt("code") == 200) { |
| | | // JSONObject data = object.getJSONObject("data"); |
| | | // tjFlowingWater.setHisWaterId(data.getStr("feiYongId")); |
| | | // JSONArray mxList = data.getJSONArray("mxList"); |
| | | // if (mxList != null && !mxList.isEmpty()) { |
| | | // List<TjFlowingWaterHis> his = mxList.toList(TjFlowingWaterHis.class); |
| | | // tjFlowingWaterHisService.saveBatch(his); |
| | | // } |
| | | // tjFlowingWaterService.updateById(tjFlowingWater); |
| | | // } else { |
| | | // TransactionAspectSupport.currentTransactionStatus().setRollbackOnly(); |
| | | // return AjaxResult.error(); |
| | | // } |
| | | // } |
| | | // return AjaxResult.success(tjNumber); |
| | | // } |
| | | |
| | | // 查询 对接Lis、Pacs申请如果类型包含在配置内则使用对接lis、pacs |
| | | |
| | | if (lisApiMethod.isUseLisAndPacsRegister(tjOrder)) { |
| | | // 这是上面个人方法引入数据 |
| | | tjFlowingWater.setPayStasus(1L); |
| | | newSaveextracted(tjOrder, tjCustomer, discount, sysUser, tjReservation, tjFlowingWater); |
| | | tjOrderDetailService.updateTjOrderDetailsByOrderId(String.valueOf(tjOrder.getOrderId()), |
| | | sysUser.getNickName(), String.valueOf(sysUser.getUserId()), String.valueOf(tjFlowingWater.getTjSerialNumber())); |
| | | remarkService.updateTjOrderRemarkSfbzByJxbzisnull(tjOrder.getOrderId().toString(), tjFlowingWater.getTjSerialNumber().toString()); |
| | | List<TjOrderDetail> detailList = tjOrderDetailService.getCaiYangDengJi(tjOrder.getOrderId()); |
| | | addCaiYangDengJi(detailList, !detailList.isEmpty(), tjOrder, sysUser, null); |
| | | return AjaxResult.success(tjNumber); |
| | | }else { |
| | | newSaveextracted(tjOrder, tjCustomer, discount, sysUser, tjReservation, tjFlowingWater); |
| | | List<TjOrderDetail> detailList = tjOrderDetailService.getCaiYangDengJi(tjOrder.getOrderId()); |
| | | addCaiYangDengJi(detailList, !detailList.isEmpty(), tjOrder, sysUser, null); |
| | | } |
| | | |
| | | String s = configService.selectConfigByKey("is_request_common_his_api"); |
| | | if (null != s && s.equals("Y")) { |
| | |
| | | return AjaxResult.error(); |
| | | } |
| | | } |
| | | } |
| | | // 查询 对接Lis、Pacs申请如果类型包含在配置内则使用对接lis、pacs |
| | | if (lisApiMethod.isUseLisAndPacsRegister(tjOrder)) { |
| | | // 这是上面个人方法引入数据 |
| | | tjFlowingWater.setPayStasus(1L); |
| | | newSaveextracted(tjOrder, tjCustomer, discount, sysUser, tjReservation, tjFlowingWater); |
| | | // AjaxResult ajaxResult = hisApiMethod.tijianshenqing(tjCustomer, DateUtil.format(date1, "yyyy-MM-dd HH:mm:ss"), tjOrder, sysUser, result); |
| | | // if (!ajaxResult.get("code").toString().equals("200")) return ajaxResult; |
| | | tjOrderDetailService.updateTjOrderDetailsByOrderId(String.valueOf(tjOrder.getOrderId()), |
| | | sysUser.getNickName(), String.valueOf(sysUser.getUserId()), String.valueOf(tjFlowingWater.getTjSerialNumber())); |
| | | remarkService.updateTjOrderRemarkSfbzByJxbzisnull(tjOrder.getOrderId().toString(),tjFlowingWater.getTjSerialNumber().toString()); |
| | | List<TjOrderDetail> detailList = tjOrderDetailService.getCaiYangDengJi(tjOrder.getOrderId()); |
| | | addCaiYangDengJi(detailList, !detailList.isEmpty(), tjOrder, sysUser, null); |
| | | |
| | | } |
| | | // pacsApiMethodService.OrderAdd(tjCustomer,tjOrder); |
| | | return AjaxResult.success(tjNumber); |
| | | // pacsApiMethodService.OrderAdd(tjCustomer,tjOrder); |
| | | // return AjaxResult.success(tjNumber); |
| | | } |
| | | TransactionAspectSupport.currentTransactionStatus().setRollbackOnly(); |
| | | return AjaxResult.error(); |
| | |
| | | private List<Map<String, Object>> getMaps(String cusId, String cardId) { |
| | | |
| | | List<TbTransition> transitionList = null; |
| | | // if (redisCache.hasKey(cardId + cusId)) { |
| | | // transitionList = redisCache.getCacheList(cardId + cusId); |
| | | // } else { |
| | | transitionList = transitionService.getTbTransitionListByCusId(cusId, cardId); |
| | | // } |
| | | if (null == transitionList) return null; |
| | | Map<Long, List<TbTransition>> collect = transitionList.stream().collect(Collectors.groupingBy(TbTransition::getParentProId)); |
| | | List<Map<String, Object>> list = new ArrayList<>(); |
| | |
| | | map.put("proPrantId", entry.getKey().toString()); |
| | | if (null != pacId) { |
| | | TjPackage aPackage = tjPackageService.getById(entry.getValue().get(0).getPacId()); |
| | | if (null != aPackage) { |
| | | map.put("tjCategory", aPackage.getTjCategory()); |
| | | map.put("pacName", aPackage.getPacName()); |
| | | TjProject tjProject = projectService.getById(entry.getKey()); |
| | | // TjPackageProject project = tjPackageProjectService.getOne(new LambdaQueryWrapper<TjPackageProject>().eq(TjPackageProject::getPacId, pacId) |
| | | // .eq(TjPackageProject::getProId, entry.getKey())); |
| | | map.put("ordPrice", tjProject.getProPrice()); |
| | | // if (null != project) { |
| | | // map.put("nowPrice", project.getPriceNow()); |
| | | // } else { |
| | | // map.put("nowPrice", tjProject.getProPrice()); |
| | | // } |
| | | map.put("nowPrice", transitionService.getTbTransitionDxPriceByPac(cusId, entry.getKey(), cardId, pacId)); |
| | | } else { |
| | | TjDwGrouping grouping = dwGroupingService.getById(pacId); |
| | | map.put("tjCategory", null); |
| | | map.put("pacName", grouping.getGroupingName()); |
| | | TjProject tjProject = projectService.getById(entry.getKey()); |
| | | map.put("ordPrice", tjProject.getProPrice()); |
| | | map.put("nowPrice", transitionService.getTbTransitionDxPriceByPac(cusId, entry.getKey(), cardId, pacId)); |
| | | } |
| | | |
| | | } else { |
| | | map.put("tjCategory", null); |
| | | map.put("pacName", "单项"); |
| | | List<TbTransition> tbTransitionList = entry.getValue(); |
| | | if (null != tbTransitionList && tbTransitionList.size() > 0) { |
| | | if (null != tbTransitionList && !tbTransitionList.isEmpty()) { |
| | | BigDecimal money1 = new BigDecimal("0.00"); |
| | | BigDecimal money2 = new BigDecimal("0.00"); |
| | | for (TbTransition tbTransition : tbTransitionList) { |
| | |
| | | tjAskMedicalHistoryService.updateTjAskMedicalHistoryByCusId(tjOrder.getTjNumber(), sysUser.getNickName(), String.valueOf(sysUser.getUserId()), String.valueOf(tjCustomer.getCusId())); |
| | | boolean b = tjOrderDetailService.saveTjOrderDetailsByCusId(tjCustomer.getCusIdcard(), String.valueOf(tjOrder.getOrderId()), sysUser.getNickName(), |
| | | String.valueOf(sysUser.getUserId()), tjOrder.getCardId()); |
| | | if (!b) { |
| | | List<TjGroupingPro> proList = groupingProService.list(new LambdaQueryWrapper<TjGroupingPro>().eq(TjGroupingPro::getGroupingId, tjOrder.getGroupId())); |
| | | if (null != proList && !proList.isEmpty()) { |
| | | for (TjGroupingPro groupingPro : proList) { |
| | | TjOrderDetail detail = new TjOrderDetail(); |
| | | TjProject tjProject = projectService.selectTjProjectByProId(Long.valueOf(groupingPro.getProId())); |
| | | detail.setIsSampling(String.valueOf(tjProject.getIsSampling())); |
| | | detail.setOrderId(tjOrder.getOrderId()); |
| | | detail.setProId(Long.valueOf(groupingPro.getProId())); |
| | | detail.setTjStatus(0L); |
| | | detail.setCreateBy(sysUser.getNickName()); |
| | | detail.setCreateTime(new Date()); |
| | | detail.setUpdateBy(sysUser.getNickName()); |
| | | detail.setUpdateTime(new Date()); |
| | | detail.setCreateId(String.valueOf(sysUser.getUserId())); |
| | | detail.setUpdateId(String.valueOf(sysUser.getUserId())); |
| | | tjOrderDetailService.save(detail); |
| | | } |
| | | List<String> list = proList.stream().map(TjGroupingPro::getProId).collect(Collectors.toList()); |
| | | List<TjProject> projectList = projectService.list(new LambdaQueryWrapper<TjProject>().in(TjProject::getProParentId, list)); |
| | | for (TjProject project : projectList) { |
| | | TjOrderDetail detail = new TjOrderDetail(); |
| | | detail.setOrderId(tjOrder.getOrderId()); |
| | | detail.setProId(project.getProId()); |
| | | detail.setTjStatus(0L); |
| | | detail.setCreateBy(sysUser.getNickName()); |
| | | detail.setCreateTime(new Date()); |
| | | detail.setUpdateBy(sysUser.getNickName()); |
| | | detail.setUpdateTime(new Date()); |
| | | detail.setCreateId(String.valueOf(sysUser.getUserId())); |
| | | detail.setUpdateId(String.valueOf(sysUser.getUserId())); |
| | | //获取该项目的默认值赋值给结果 |
| | | if (null != project.getProDefault()) { |
| | | detail.setProResult(project.getProDefault()); |
| | | } else { |
| | | detail.setProResult(null); |
| | | } |
| | | detail.setIsSampling(String.valueOf(project.getIsSampling())); |
| | | |
| | | tjOrderDetailService.save(detail); |
| | | } |
| | | } |
| | | } |
| | | // if (!b) { |
| | | // List<TjGroupingPro> proList = groupingProService.list(new LambdaQueryWrapper<TjGroupingPro>().eq(TjGroupingPro::getGroupingId, tjOrder.getGroupId())); |
| | | // if (null != proList && !proList.isEmpty()) { |
| | | // for (TjGroupingPro groupingPro : proList) { |
| | | // TjOrderDetail detail = new TjOrderDetail(); |
| | | // TjProject tjProject = projectService.selectTjProjectByProId(Long.valueOf(groupingPro.getProId())); |
| | | // detail.setIsSampling(String.valueOf(tjProject.getIsSampling())); |
| | | // detail.setOrderId(tjOrder.getOrderId()); |
| | | // detail.setProId(Long.valueOf(groupingPro.getProId())); |
| | | // detail.setTjStatus(0L); |
| | | // detail.setCreateBy(sysUser.getNickName()); |
| | | // detail.setCreateTime(new Date()); |
| | | // detail.setUpdateBy(sysUser.getNickName()); |
| | | // detail.setUpdateTime(new Date()); |
| | | // detail.setCreateId(String.valueOf(sysUser.getUserId())); |
| | | // detail.setUpdateId(String.valueOf(sysUser.getUserId())); |
| | | // tjOrderDetailService.save(detail); |
| | | // } |
| | | // List<String> list = proList.stream().map(TjGroupingPro::getProId).collect(Collectors.toList()); |
| | | // List<TjProject> projectList = projectService.list(new LambdaQueryWrapper<TjProject>().in(TjProject::getProParentId, list)); |
| | | // for (TjProject project : projectList) { |
| | | // TjOrderDetail detail = new TjOrderDetail(); |
| | | // detail.setOrderId(tjOrder.getOrderId()); |
| | | // detail.setProId(project.getProId()); |
| | | // detail.setTjStatus(0L); |
| | | // detail.setCreateBy(sysUser.getNickName()); |
| | | // detail.setCreateTime(new Date()); |
| | | // detail.setUpdateBy(sysUser.getNickName()); |
| | | // detail.setUpdateTime(new Date()); |
| | | // detail.setCreateId(String.valueOf(sysUser.getUserId())); |
| | | // detail.setUpdateId(String.valueOf(sysUser.getUserId())); |
| | | // //获取该项目的默认值赋值给结果 |
| | | // if (null != project.getProDefault()) { |
| | | // detail.setProResult(project.getProDefault()); |
| | | // } else { |
| | | // detail.setProResult(null); |
| | | // } |
| | | // detail.setIsSampling(String.valueOf(project.getIsSampling())); |
| | | // |
| | | // tjOrderDetailService.save(detail); |
| | | // } |
| | | // } |
| | | // } |
| | | |
| | | //添加remark表数据 |
| | | remarkService.saveTjOrderRemarkByOrderId(tjOrder.getTjNumber(), sysUser.getNickName(), String.valueOf(sysUser.getUserId()), String.valueOf(tjOrder.getOrderId())); |
| | |
| | | } |
| | | |
| | | |
| | | |
| | | @PostMapping("/heshouchexiao") |
| | | @ApiOperation(value = "撤销报告接口") |
| | | @Transactional |
| | |
| | | } |
| | | |
| | | |
| | | @GetMapping("/qiandaodengjitianjiaxiangmubydanweifenzu") |
| | | @ApiOperation(value = "签到登记根据单位分组获取体检项目") |
| | | @Transactional |
| | | public AjaxResult qiandaodengjitianjiaxiangmubydanweifenzu(@RequestParam String cusIdcard, @RequestParam String groupingId) { |
| | | try { |
| | | transitionService.saveTemoTransitionByGroupingId(cusIdcard, groupingId); |
| | | return AjaxResult.success("操作成功!"); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | return AjaxResult.error(); |
| | | } |
| | | } |
| | | |
| | | @PostMapping("/ttaddtTransition") |
| | | @ApiOperation(value = "团体添加过渡表数据") |
| | | @Transactional |
| | | public AjaxResult ttaddtTransition(@RequestBody Map<String, Object> map) { |
| | | Object packId = map.get("pacId"); |
| | | if (null == map.get("cusId")) return AjaxResult.error("请选择体检人"); |
| | | String cusId = map.get("cusId").toString(); |
| | | Object proIds1 = map.get("proIds"); |
| | | List<Long> proIds = null; |
| | | if (null != proIds1 && !proIds1.equals("")) { |
| | | proIds = JSON.parseArray(proIds1.toString(), Long.class); |
| | | } |
| | | TjCustomer tjCustomer = tjCustomerService.getTjCustomerByCusIdCard(cusId); |
| | | String cardId = "0"; |
| | | if (null != tjCustomer) { |
| | | cardId = tjCustomer.getCardId(); |
| | | } |
| | | if ((null == proIds || proIds.isEmpty()) && (null == packId || packId.equals(""))) { |
| | | transitionService.deletedTbTransitionByCusId(cusId); |
| | | } |
| | | /*套餐*/ |
| | | if (null != packId && !packId.equals("")) { |
| | | Long pacId = Long.valueOf(packId.toString()); |
| | | List<TbTransition> list = transitionService.getTbTransitionListByCusIdAndPac(cusId, String.valueOf(pacId)); |
| | | if (null == list || list.isEmpty()) { |
| | | transitionService.deletedTbTransitionListByCusIdAndPac(cusId, cardId); |
| | | String string = transitionService.ttpanduantaocanshifouchongfu(cusId, pacId); |
| | | if (!StringUtils.isBlank(string)) { |
| | | TransactionAspectSupport.currentTransactionStatus().setRollbackOnly(); |
| | | return AjaxResult.error("操作失败! 以下项目已存在: " + string); |
| | | } |
| | | transitionService.ttsaveTemoTransitionByGroupingId(cusId, cardId, pacId.toString()); |
| | | |
| | | } |
| | | } |
| | | |
| | | //单项 |
| | | if (null != proIds && !proIds.isEmpty()) { |
| | | //异步保存数据库表 |
| | | for (Long proId : proIds) { |
| | | TjProject project = projectService.selectTjProjectByProId(proId); |
| | | if (null != project) { |
| | | List<TbTransition> transitionList = transitionService.getTbTransitionListByCusIdAndPacIdAndProId(cusId, String.valueOf(proId)); |
| | | if (null == transitionList || transitionList.isEmpty()) { |
| | | transitionService.saveRedisTransitionByProId(cusId, cardId, proId); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | return AjaxResult.success(); |
| | | } |
| | | |
| | | |
| | | } |
| | | |