|
@@ -20,6 +20,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
import java.util.Arrays;
|
|
|
+import java.util.Date;
|
|
|
import java.util.List;
|
|
|
|
|
|
@RequestMapping("sporadicChargeInfo")
|
|
@@ -111,7 +112,10 @@ public class SporadicChargeInfoController extends BaseController {
|
|
|
if (sysUser == null) {
|
|
|
return failed("用户信息获取失败");
|
|
|
}
|
|
|
+ SporadicChargeInfo info = sporadicChargeInfoService.get(sporadicChargeInfo.getId());
|
|
|
+ sporadicChargeInfo.setVersion(info.getVersion());
|
|
|
sporadicChargeInfo.setOperatorId(sysUser.getId());
|
|
|
+ sporadicChargeInfo.setUpdateTime(new Date());
|
|
|
return succeed(sporadicChargeInfoService.update(sporadicChargeInfo));
|
|
|
}
|
|
|
|