yaozhixue 1 年之前
父节点
当前提交
dc4dbe2573
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. 6 6
      src/main/resources/mapper/DetailOrderInstallMapper.xml

+ 6 - 6
src/main/resources/mapper/DetailOrderInstallMapper.xml

@@ -23,7 +23,7 @@
                case a.source when 'MOBILE' then 2 else 1 end as dnorsj,a.settle_websit_id as jsdwxtbh,
                if(a.first_time is null,a.update_time,a.first_time) as scazsj,
                a.settle_amount as azfy,a.settle_amount as jsfy,
-               IFNULL(a.inside_password, '') as kjmm, if(a.inside_password != '', 1, 8) as kjmmbs,
+               IFNULL(substr(a.inside_password, 1, 44), '') as kjmm, if(a.inside_password != '', 1, 8) as kjmmbs,
                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,
@@ -59,7 +59,7 @@
                case a.source when 'MOBILE' then 2 else 1 end as dnorsj,a.settle_websit_id as jsdwxtbh,
                if(a.first_time is null,a.update_time,a.first_time) as scazsj,
                a.settle_amount as azfy,a.settle_amount as jsfy,
-               IFNULL(a.inside_password, '') as kjmm, if(a.inside_password != '', 1, 8) as kjmmbs,
+               IFNULL(substr(a.inside_password, 1, 44), '') as kjmm, if(a.inside_password != '', 1, 8) as kjmmbs,
                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,
@@ -96,7 +96,7 @@
                case a.source when 'MOBILE' then 2 else 1 end as dnorsj,a.settle_websit_id as jsdwxtbh,
                if(a.first_time is null,a.update_time,a.first_time) as scazsj,
                a.settle_amount as azfy,a.settle_amount as jsfy,
-               IFNULL(a.inside_password, '') as kjmm, if(a.inside_password != '', 1, 8) as kjmmbs,
+               IFNULL(substr(a.inside_password, 1, 44), '') as kjmm, if(a.inside_password != '', 1, 8) as kjmmbs,
                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,
@@ -132,7 +132,7 @@
                case a.source when 'MOBILE' then 2 else 1 end as dnorsj,a.settle_websit_id as jsdwxtbh,
                if(a.first_time is null,a.update_time,a.first_time) as scazsj,
                a.settle_amount as azfy,a.settle_amount as jsfy,
-               IFNULL(a.inside_password, '') as kjmm, if(a.inside_password != '', 1, 8) as kjmmbs,
+               IFNULL(substr(a.inside_password, 1, 44), '') as kjmm, if(a.inside_password != '', 1, 8) as kjmmbs,
                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,
@@ -168,7 +168,7 @@
                case a.source when 'MOBILE' then 2 else 1 end as dnorsj,a.settle_websit_id as jsdwxtbh,
                if(a.first_time is null,a.update_time,a.first_time) as scazsj,
                a.settle_amount as azfy,a.settle_amount as jsfy,
-               IFNULL(a.inside_password, '') as kjmm, if(a.inside_password != '', 1, 8) as kjmmbs,
+               IFNULL(substr(a.inside_password, 1, 44), '') as kjmm, if(a.inside_password != '', 1, 8) as kjmmbs,
                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,
@@ -204,7 +204,7 @@
                case a.source when 'MOBILE' then 2 else 1 end as dnorsj,a.settle_websit_id as jsdwxtbh,
                if(a.first_time is null,a.update_time,a.first_time) as scazsj,
                a.settle_amount as azfy,a.settle_amount as jsfy,
-               IFNULL(a.inside_password, '') as kjmm, if(a.inside_password != '', 1, 8) as kjmmbs,
+               IFNULL(substr(a.inside_password, 1, 44), '') as kjmm, if(a.inside_password != '', 1, 8) as kjmmbs,
                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,