|
@@ -108,7 +108,7 @@ public class TruckEscortController {
|
|
|
@ApiOperation(value = "修改车辆押运员", notes = "必传参数:EscortId")
|
|
@ApiOperation(value = "修改车辆押运员", notes = "必传参数:EscortId")
|
|
|
@PostMapping("/update")
|
|
@PostMapping("/update")
|
|
|
public Result update(@RequestHeader(value = "userId") Long userId,
|
|
public Result update(@RequestHeader(value = "userId") Long userId,
|
|
|
- @RequestHeader(value = "userName") String userName,
|
|
|
|
|
|
|
+ @RequestHeader(value = "userName") String userName, @RequestHeader(value = "orgId") Long orgId,
|
|
|
@RequestBody TruckEscort param) {
|
|
@RequestBody TruckEscort param) {
|
|
|
log.info("修改车辆押运员,调用/tms/truck_escort/update,参数:{}", JSON.toJSONString(param));
|
|
log.info("修改车辆押运员,调用/tms/truck_escort/update,参数:{}", JSON.toJSONString(param));
|
|
|
if (param == null || param.getEscortId() == null) {
|
|
if (param == null || param.getEscortId() == null) {
|
|
@@ -120,6 +120,7 @@ public class TruckEscortController {
|
|
|
} catch (UnsupportedEncodingException ignored) {
|
|
} catch (UnsupportedEncodingException ignored) {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ param.setOrgId(orgId);
|
|
|
param.setCreater(userId);
|
|
param.setCreater(userId);
|
|
|
param.setCreaterName(utf8Name);
|
|
param.setCreaterName(utf8Name);
|
|
|
param.setCreateDate(LocalDateTime.now());
|
|
param.setCreateDate(LocalDateTime.now());
|