localizer
parent
f8dc1c3c19
commit
9a6782b02b
|
|
@ -87,6 +87,11 @@ public class BizTruckEntity {
|
||||||
*/
|
*/
|
||||||
private String gps;
|
private String gps;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 车辆状态 0-->空闲中 1-->清运中
|
||||||
|
*/
|
||||||
|
private Boolean disabled;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 行驶证有效期
|
* 行驶证有效期
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -90,4 +90,9 @@ public class SearchTruckResult {
|
||||||
|
|
||||||
private String picture;
|
private String picture;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 车辆状态 0-->空闲中 1-->清运中
|
||||||
|
*/
|
||||||
|
private Boolean disabled;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -39,8 +39,7 @@ public class BizTruckService extends ServiceImpl<BizTruckMapper, BizTruckEntity>
|
||||||
* @param bizTruckEntity 数据
|
* @param bizTruckEntity 数据
|
||||||
*/
|
*/
|
||||||
public void add(BizTruckEntity bizTruckEntity) {
|
public void add(BizTruckEntity bizTruckEntity) {
|
||||||
bizTruckEntity.setAuditStatus(AuditStatus.DaiShenHe)
|
bizTruckEntity.setAuditStatus(AuditStatus.DaiShenHe);
|
||||||
;
|
|
||||||
this.save(bizTruckEntity);
|
this.save(bizTruckEntity);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,8 @@
|
||||||
a.qualification_date,
|
a.qualification_date,
|
||||||
a.deleted,
|
a.deleted,
|
||||||
a.gps,
|
a.gps,
|
||||||
a.picture
|
a.picture,
|
||||||
|
a.disabled
|
||||||
FROM biz_truck a
|
FROM biz_truck a
|
||||||
INNER JOIN biz_company b ON b.id = a.company_id AND b.deleted = 0
|
INNER JOIN biz_company b ON b.id = a.company_id AND b.deleted = 0
|
||||||
<if test="ew.customSqlSegment != null and ew.customSqlSegment != ''">
|
<if test="ew.customSqlSegment != null and ew.customSqlSegment != ''">
|
||||||
|
|
@ -61,7 +62,8 @@
|
||||||
a.qualification_date,
|
a.qualification_date,
|
||||||
a.deleted,
|
a.deleted,
|
||||||
a.gps,
|
a.gps,
|
||||||
a.picture
|
a.picture,
|
||||||
|
a.disabled
|
||||||
FROM biz_truck a
|
FROM biz_truck a
|
||||||
INNER JOIN biz_company b ON b.id = a.company_id AND b.deleted = 0
|
INNER JOIN biz_company b ON b.id = a.company_id AND b.deleted = 0
|
||||||
WHERE a.id = #{id} AND a.deleted = 0
|
WHERE a.id = #{id} AND a.deleted = 0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue