| | |
| | | queryWrapper.like("\"res_guid\"", param.getResGuid()); |
| | | if (!StringUtil.isBlank(param.getCreateUser())) |
| | | queryWrapper.like("\"create_user\"", param.getCreateUser()); |
| | | if (null != param.getTbYear()) |
| | | queryWrapper.like("\"tb_year\"", param.getTbYear()); |
| | | if (!StringUtil.isBlank(param.getTbQuarter())) |
| | | queryWrapper.like("\"tb_quarter\"", param.getTbQuarter()); |
| | | return R.data(tbResGeneralInvestigationService.page(Condition.getPage(query), queryWrapper)); |
| | | } |
| | | |
| | |
| | | if (tbResGeneralInvestigation.getGuid() == null) { |
| | | tbResGeneralInvestigation.setCreateTime(new Date()); |
| | | } |
| | | return R.status(tbResGeneralInvestigationService.saveOrUpdate(tbResGeneralInvestigation)); |
| | | return tbResGeneralInvestigationService.saveOrUpdateBy(tbResGeneralInvestigation); |
| | | } |
| | | |
| | | @PostMapping("/remove") |