|
@@ -17,7 +17,7 @@
|
|
|
a.trouble_analysis as gzfx,a.repaire_item as wxnr,a.remark as beiz,a.create_time as ldrq,a.worker_name as czrmc,
|
|
|
if(length(a.gps_address)>110,left(a.gps_address,110),a.gps_address) as gpsdzxx,
|
|
|
d.user_mobile as yddh,0 as zsfy,0 as dzfy,h.ref_dict_code as spid,
|
|
|
- c.ref_dict_name as spmc,a.settle_time as zjssj,a.create_time as cjdt,i.pgmxid,j.zbby,
|
|
|
+ c.ref_dict_name as spmc,a.settle_time as zjssj,a.create_time as cjdt,i.pgmxid,IFNULL(j.zbby,'') as zbby,
|
|
|
case when length(a.lng) >12 then left(a.lng,12) else a.lng end as sjcjjd,
|
|
|
case when length(a.lat) >12 then left(a.lat,12) else a.lat end as sjcjwd,
|
|
|
if(j.zbby = '1' and c.ref_dict_code = 101 , 8, 1 ) as wxlx,a.over_time as bwgsj
|