|
@@ -796,13 +796,18 @@ public class RecordSealController extends BaseController {
|
|
|
* @return
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
- @PostMapping("/updateChargeStatus/{zfrId}")
|
|
|
- public AjaxResult updateChargeStatus(@PathVariable String zfrId) throws Exception {
|
|
|
-
|
|
|
+ @PostMapping("/updateChargeStatus/{zfrId}/{zciStatus}")
|
|
|
+ public AjaxResult updateChargeStatus(@PathVariable String zfrId,@PathVariable String zciStatus) throws Exception {
|
|
|
+ //获取此操作员
|
|
|
+ LoginUser userInfo = tokenService.getLoginUser();
|
|
|
+ SysUser user = userInfo.getSysUser();
|
|
|
+ String userId = user.getUserId()+"";
|
|
|
LambdaQueryWrapper<ZcChargeInf> queryWrapper = new LambdaQueryWrapper<>();
|
|
|
queryWrapper.eq(ZcChargeInf::getZciFinanceId,zfrId);
|
|
|
ZcChargeInf zcChargeInf = new ZcChargeInf();
|
|
|
- zcChargeInf.setZciStatus("02");
|
|
|
+ zcChargeInf.setZciStatus(zciStatus);
|
|
|
+ zcChargeInf.setUpdateBy(userId);
|
|
|
+ zcChargeInf.setUpdateTime(DateUtils.getNowDate());
|
|
|
iZcChargeInfService.update(zcChargeInf,queryWrapper);
|
|
|
return AjaxResult.success();
|
|
|
}
|