车辆修改
This commit is contained in:
parent
147e5bbbcb
commit
428cecd3f6
@ -62,7 +62,7 @@ public class CarInfoApprovalFlow implements Serializable {
|
|||||||
*/
|
*/
|
||||||
@Excel(name = "车辆类型", width = 15)
|
@Excel(name = "车辆类型", width = 15)
|
||||||
@ApiModelProperty(value = "车辆类型")
|
@ApiModelProperty(value = "车辆类型")
|
||||||
private java.lang.Integer carType;
|
private java.lang.Long carType;
|
||||||
/**
|
/**
|
||||||
* 驾驶劳务人员ID
|
* 驾驶劳务人员ID
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -100,12 +100,6 @@ public class CarInfoServiceImpl extends ServiceImpl<CarInfoMapper, CarInfo> impl
|
|||||||
if (project == null) {
|
if (project == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
CarInfo updateCar = new CarInfo();
|
|
||||||
BeanUtil.copyProperties(c, updateCar);
|
|
||||||
updateCar.setId(old.getId());
|
|
||||||
updateCar.setReserveStartTime(old.getReserveStartTime());
|
|
||||||
updateCar.setReserveEndTime(old.getReserveEndTime());
|
|
||||||
carInfoMapper.updateById(updateCar);
|
|
||||||
if (c.getIsBlack() == 1) {
|
if (c.getIsBlack() == 1) {
|
||||||
asyncHikvision.deleteCarInfoForHikvision(old, true);
|
asyncHikvision.deleteCarInfoForHikvision(old, true);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user