localizer
ljw 2025-09-22 20:49:11 +08:00
parent f8dc1c3c19
commit 9a6782b02b
4 changed files with 15 additions and 4 deletions

View File

@ -87,6 +87,11 @@ public class BizTruckEntity {
*/
private String gps;
/**
* 0--> 1-->
*/
private Boolean disabled;
/**
*
*/

View File

@ -90,4 +90,9 @@ public class SearchTruckResult {
private String picture;
/**
* 0--> 1-->
*/
private Boolean disabled;
}

View File

@ -39,8 +39,7 @@ public class BizTruckService extends ServiceImpl<BizTruckMapper, BizTruckEntity>
* @param bizTruckEntity
*/
public void add(BizTruckEntity bizTruckEntity) {
bizTruckEntity.setAuditStatus(AuditStatus.DaiShenHe)
;
bizTruckEntity.setAuditStatus(AuditStatus.DaiShenHe);
this.save(bizTruckEntity);
}

View File

@ -30,7 +30,8 @@
a.qualification_date,
a.deleted,
a.gps,
a.picture
a.picture,
a.disabled
FROM biz_truck a
INNER JOIN biz_company b ON b.id = a.company_id AND b.deleted = 0
<if test="ew.customSqlSegment != null and ew.customSqlSegment != ''">
@ -61,7 +62,8 @@
a.qualification_date,
a.deleted,
a.gps,
a.picture
a.picture,
a.disabled
FROM biz_truck a
INNER JOIN biz_company b ON b.id = a.company_id AND b.deleted = 0
WHERE a.id = #{id} AND a.deleted = 0