| | |
| | | import cn.hutool.core.date.DateUtil; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.ltkj.common.core.domain.AjaxResult; |
| | | import com.ltkj.common.core.domain.entity.SysUser; |
| | | import com.ltkj.common.utils.SecurityUtils; |
| | | import com.ltkj.framework.config.UserHoder; |
| | | import com.ltkj.hosp.domain.*; |
| | |
| | | private ITjProjectService projectService; |
| | | @Resource |
| | | private ITjChargingStandardService chargingStandardService; |
| | | @Resource |
| | | private ITjOrderRemarkService remarkService; |
| | | |
| | | |
| | | |
| | |
| | | @ApiOperation(value = "体检收费接口") |
| | | @Transactional |
| | | public AjaxResult addOrderAndDetail(@RequestBody NewFlowingWaterVo vo) { |
| | | SysUser user = SecurityUtils.getLoginUser().getUser(); |
| | | |
| | | // if (!MatchUtils.isMobileNO(vo.getPhone())) { |
| | | // return AjaxResult.error("手机号格式有误!"); |
| | |
| | | detail.setProType("0"); |
| | | detailService.save(detail); |
| | | |
| | | remarkService.saveTjOrderRemarkByOrderId(tjOrder.getTjNumber(), user.getNickName(), String.valueOf(user.getUserId()), String.valueOf(tjOrder.getOrderId())); |
| | | |
| | | TjFlowingWater tjFlowingWater = new TjFlowingWater(); |
| | | tjFlowingWater.setOrderId(tjOrder.getOrderId()); |
| | | tjFlowingWater.setPayType(Long.valueOf(vo.getType())); |