| | |
| | | transitionService.deletedTbTransitionListByCusIdAndPac(cusId, cardId); |
| | | List<TjPackageProject> ppList = tjPackageProjectService.getTjPackageProjectListByPacId(String.valueOf(pacId)); |
| | | if (null != ppList && !ppList.isEmpty()) { |
| | | String string = transitionService.panduantaocanshifouchongfu(cusId,pacId); |
| | | if(!StringUtils.isBlank(string)){ |
| | | TransactionAspectSupport.currentTransactionStatus().setRollbackOnly(); |
| | | return AjaxResult.error("操作失败! 以下项目已存在: "+string); |
| | | } |
| | | transitionService.saveRedisTransitionByPacId(cusId, cardId, pacId); |
| | | } |
| | | } |
| | |
| | | "</script>" |
| | | }) |
| | | BigDecimal getLisPriceByTjNumAndInParentProId(@Param("tjNum") String tjNum, @Param("parentProId") List<String> parentProId); |
| | | |
| | | |
| | | |
| | | @Select("SELECT GROUP_CONCAT(c.pro_name SEPARATOR ' ; ' ) FROM tj_package_project b JOIN tj_project c ON c.pro_id=b.pro_id\n" + |
| | | "\n" + |
| | | "WHERE b.pro_id IN(SELECT DISTINCT a.parent_pro_id FROM tb_transition a WHERE a.cus_id=#{idCard} AND ISNULL(a.tj_num))" + |
| | | "AND b.pac_id=#{pacId}") |
| | | String panduantaocanshifouchongfu(@Param("idCard") String idCard,@Param("pacId") Long pacId); |
| | | } |
| | |
| | | boolean updateCardIdByTjNumAndIdCard(String idCard,String cardId,String tjNumber); |
| | | |
| | | void deleteTjOrderDetailByjxbz(String bldh); |
| | | |
| | | String panduantaocanshifouchongfu(String idCard,Long pacId); |
| | | } |
| | |
| | | public void deleteTjOrderDetailByjxbz(String bldh) { |
| | | tbTransitionMapper.deleteTjOrderDetailByjxbz(bldh); |
| | | } |
| | | |
| | | @Override |
| | | public String panduantaocanshifouchongfu(String idCard,Long pacId) { |
| | | return tbTransitionMapper.panduantaocanshifouchongfu(idCard,pacId); |
| | | } |
| | | } |