|
@@ -27,7 +27,7 @@
|
|
|
if(length(a.gps_address)>140,left(a.gps_address,140),a.gps_address) as sjcjgps,
|
|
|
if(a.first_time=0,a.update_time,a.first_time) as sjcjsj,'' as kjmm2,
|
|
|
g.bracket as zjia,g.pipe as jcguan,g.swith_flag as kqkg,g.high_altitude as gkzy,g.hole as yccxqk,
|
|
|
- a.websit_id as zjczwdxtbh
|
|
|
+ a.websit_id as zjczwdxtbh,a.first_time as wcsj
|
|
|
from order_install_detail a
|
|
|
left join order_product b on b.order_base_id = a.order_base_id and a.order_product_id=b.id
|
|
|
left join sys_dict_ref c on c.dict_code=a.main_id and c.brand_id = #{request.brandId} and c.dict_type='MAIN_TYPE'
|
|
@@ -62,7 +62,7 @@
|
|
|
if(length(a.gps_address)>140,left(a.gps_address,140),a.gps_address) as sjcjgps,
|
|
|
if(a.first_time=0,a.update_time,a.first_time) as sjcjsj,
|
|
|
g.bracket as zjia,g.pipe as jcguan,g.swith_flag as kqkg,g.high_altitude as gkzy,g.hole as yccxqk,
|
|
|
- a.websit_id as zjczwdxtbh
|
|
|
+ a.websit_id as zjczwdxtbh,a.first_time as wcsj
|
|
|
from order_install_detail a
|
|
|
left join order_product b on b.order_base_id = a.order_base_id and a.order_product_id=b.id
|
|
|
left join sys_dict_ref c on c.dict_code=a.main_id and c.brand_id = #{request.brandId} and c.dict_type='MAIN_TYPE'
|
|
@@ -98,7 +98,7 @@
|
|
|
if(length(a.gps_address)>140,left(a.gps_address,140),a.gps_address) as sjcjgps,
|
|
|
if(a.first_time=0,a.update_time,a.first_time) as sjcjsj,'' as kjmm2,
|
|
|
g.bracket as zjia,g.pipe as jcguan,g.swith_flag as kqkg,g.high_altitude as gkzy,g.hole as yccxqk,
|
|
|
- a.websit_id as zjczwdxtbh
|
|
|
+ a.websit_id as zjczwdxtbh,a.first_time as wcsj
|
|
|
from order_install_detail a
|
|
|
left join order_product b on b.order_base_id = a.order_base_id and a.order_product_id=b.id
|
|
|
left join sys_dict_ref c on c.dict_code=a.main_id and c.brand_id = #{request.brandId} and c.dict_type='MAIN_TYPE'
|
|
@@ -133,7 +133,7 @@
|
|
|
if(length(a.gps_address)>140,left(a.gps_address,140),a.gps_address) as sjcjgps,
|
|
|
if(a.first_time=0,a.update_time,a.first_time) as sjcjsj,'' as kjmm2,
|
|
|
g.bracket as zjia,g.pipe as jcguan,g.swith_flag as kqkg,g.high_altitude as gkzy,g.hole as yccxqk,
|
|
|
- a.websit_id as zjczwdxtbh
|
|
|
+ a.websit_id as zjczwdxtbh,a.first_time as wcsj
|
|
|
from order_install_detail a
|
|
|
left join order_product b on b.order_base_id = a.order_base_id and a.order_product_id=b.id
|
|
|
left join sys_dict_ref c on c.dict_code=a.main_id and c.brand_id = #{request.brandId} and c.dict_type='MAIN_TYPE'
|
|
@@ -168,7 +168,7 @@
|
|
|
if(length(a.gps_address)>140,left(a.gps_address,140),a.gps_address) as sjcjgps,
|
|
|
if(a.first_time=0,a.update_time,a.first_time) as sjcjsj,
|
|
|
g.bracket as zjia,g.pipe as jcguan,g.swith_flag as kqkg,g.high_altitude as gkzy,g.hole as yccxqk,
|
|
|
- a.websit_id as zjczwdxtbh
|
|
|
+ a.websit_id as zjczwdxtbh,a.first_time as wcsj
|
|
|
from order_install_detail a
|
|
|
left join order_product b on b.order_base_id = a.order_base_id and a.order_product_id=b.id
|
|
|
left join sys_dict_ref c on c.dict_code=a.main_id and c.brand_id = #{request.brandId} and c.dict_type='MAIN_TYPE'
|
|
@@ -203,7 +203,7 @@
|
|
|
if(length(a.gps_address)>140,left(a.gps_address,140),a.gps_address) as sjcjgps,
|
|
|
if(a.first_time=0,a.update_time,a.first_time) as sjcjsj,'' as kjmm2,
|
|
|
g.bracket as zjia,g.pipe as jcguan,g.swith_flag as kqkg,g.high_altitude as gkzy,g.hole as yccxqk,
|
|
|
- a.websit_id as zjczwdxtbh
|
|
|
+ a.websit_id as zjczwdxtbh,a.first_time as wcsj
|
|
|
from order_install_detail a
|
|
|
left join order_product b on b.order_base_id = a.order_base_id and a.order_product_id=b.id
|
|
|
left join sys_dict_ref c on c.dict_code=a.main_id and c.brand_id = #{request.brandId} and c.dict_type='MAIN_TYPE'
|