dev_xds
parent
497054c1ec
commit
9409e1a253
|
@ -125,7 +125,7 @@ public class ProjectProblemmodifyController extends BaseController {
|
|||
* @return
|
||||
*/
|
||||
@PostMapping("/modifyProblem")
|
||||
@Log(title = "举牌验收", businessType = BusinessType.INSERT)
|
||||
@Log(title = "问题整改", businessType = BusinessType.UPDATE)
|
||||
public AjaxResult modifyProblem(@RequestBody SmzSspAuditinfo smzSspAuditinfo){
|
||||
return success(smzSspAuditinfoService.insertSmzSspAuditinfo(smzSspAuditinfo));
|
||||
}
|
||||
|
|
|
@ -80,7 +80,7 @@ public class SmzSspAuditinfoServiceImpl implements ISmzSspAuditinfoService
|
|||
switch (smzSspAuditinfo.getProcessState()){
|
||||
case "0": smzSspProblemmodify.setCheckState(1L); break;
|
||||
case "2": smzSspProblemmodify.setCheckState(3L); break;
|
||||
case "4": smzSspProblemmodify.setCheckState(4L); break;
|
||||
case "4": smzSspProblemmodify.setCheckState(4L);smzSspProblemmodify.setUpdateTime(new Date()); break;
|
||||
default:break;
|
||||
}
|
||||
smzSspProblemmodifyMapper.updateSmzSspProblemmodify(smzSspProblemmodify);
|
||||
|
|
|
@ -47,7 +47,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
left join sys_dict_data ssd on ssd.dict_type = 'smz_ssp_auditinfo' and ssd.dict_value = ssa.processState
|
||||
where ssa.mainId = #{mainId} and ssa.processState in (0,2)
|
||||
GROUP BY ssa.id
|
||||
order by ssa.createTime
|
||||
order by ssa.createTime desc
|
||||
limit 0,1
|
||||
</select>
|
||||
|
||||
|
|
Loading…
Reference in New Issue