| | |
| | | tbTransition.setPacPrice(projectService.getTjProjectById(String.valueOf(tbTransition.getParentProId())).getProPrice()); |
| | | } |
| | | } |
| | | map.put("ordPrice", money1.setScale(Integer.parseInt(configService.selectConfigByKey("sys.price.save")), Integer.parseInt(configService.selectConfigByKey("sys.price")))); |
| | | map.put("nowPrice", money2.setScale(Integer.parseInt(configService.selectConfigByKey("sys.price.save")), Integer.parseInt(configService.selectConfigByKey("sys.price")))); |
| | | // map.put("ordPrice", money1.setScale(Integer.parseInt(configService.selectConfigByKey("sys.price.save")), Integer.parseInt(configService.selectConfigByKey("sys.price")))); |
| | | // map.put("nowPrice", money2.setScale(Integer.parseInt(configService.selectConfigByKey("sys.price.save")), Integer.parseInt(configService.selectConfigByKey("sys.price")))); |
| | | |
| | | map.put("ordPrice", money1); |
| | | map.put("nowPrice", money2); |
| | | } |
| | | list.add(map); |
| | | } |
| | |
| | | |
| | | @PostMapping("/deletedTbTransitionByCusId") |
| | | @ApiOperation(value = "根据身份证号删除临时表数据") |
| | | public AjaxResult deletedTbTransitionByCusId(@RequestBody String cusId) { |
| | | transitionService.deletedTbTransitionByCusId(cusId); |
| | | return AjaxResult.success(); |
| | | public AjaxResult deletedTbTransitionByCusId(@RequestParam @ApiParam(value = "身份证号") String cusId) { |
| | | LambdaQueryWrapper<TbTransition> wq=new LambdaQueryWrapper<>(); |
| | | wq.between(TbTransition::getCreateTime,transitionService.getTbTransitionCreateTimeByCusId(cusId),new Date()); |
| | | wq.eq(TbTransition::getCusId,cusId); |
| | | return AjaxResult.success(transitionService.remove(wq)); |
| | | } |
| | | } |