| | |
| | | import com.ltkj.hosp.domain.*; |
| | | import com.ltkj.hosp.service.*; |
| | | import com.ltkj.mall.mallOrderUtils.TjConstants; |
| | | import com.ltkj.system.service.ISysConfigService; |
| | | import com.ltkj.system.service.ISysUserService; |
| | | import com.ltkj.web.config.pdfutils.MergePdf; |
| | | import com.ltkj.web.config.pdfutils.MyHeaderFooter; |
| | |
| | | private ITjOrderDetailRulesService detailRulesService; |
| | | @Resource |
| | | private ITjRulesService rulesService; |
| | | @Autowired |
| | | private ISysConfigService configService; |
| | | |
| | | |
| | | |
| | |
| | | wq2.eq("tj_number", tjNumber); |
| | | TjOrder one = tjOrderService.getOne(wq2); |
| | | one.setCheckStatus(0); |
| | | one.setStatus(TjConstants.TJ_WAIT); |
| | | String config = configService.selectConfigByKey("tj_confirm"); |
| | | if ("Y".equals(config)) { |
| | | one.setStatus(TjConstants.TJ_CHECK); |
| | | }else { |
| | | one.setStatus(TjConstants.TJ_CONFIRM); |
| | | } |
| | | //将状态改为未审核 |
| | | // UpdateWrapper updateWrapper=new UpdateWrapper(); |
| | | // updateWrapper.eq("tj_number",tjNumber); |