Commit 524faa01 authored by KeYong's avatar KeYong

修改车辆保存二维码更新问题

parent 2ad4b008
......@@ -106,10 +106,11 @@ public class Car extends BaseEntity {
@ApiModelProperty(value = "队伍名称(冗余字段来源于平台)")
private String teamName;
@ApiModelProperty(value = "状态")
@TableField("equip_status")
private String equipStatus ="0";
//新加
@ApiModelProperty(value = "机构/部门名称")
@TableField("biz_org_name")
private String bizOrgName;
......
......@@ -364,6 +364,10 @@ public class CarController extends AbstractBaseController {
car.setBizOrgName(map.get("companyName"));
}
}
// 由于前端不展示码状态此处解决异常二维码更新之后变正常问题
Car tempCar = iCarService.selectOneById(car.getId());
car.setEquipStatus(tempCar.getEquipStatus());
Car car1 = iCarService.updateOneById(car);
CarController controllerProxy = SpringUtils.getBean(CarController.class);
controllerProxy.refreshAllCount();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment