Commit cc6f47ca authored by 胡涛's avatar 胡涛

数据下发脚本freemarker模板修改

parent 8b7d0c8a
...@@ -97,7 +97,9 @@ ENDOR_PLCBASIC ...@@ -97,7 +97,9 @@ ENDOR_PLCBASIC
vehicleId String , -- 新核心车险批单-车型 vehicleId String , -- 新核心车险批单-车型
newVehicleFlag String , -- 新核心车险批单-新车标识 newVehicleFlag String , -- 新核心车险批单-新车标识
carUserNatureCode String , -- 新核心车险批单-车辆使用性质 carUserNatureCode String , -- 新核心车险批单-车辆使用性质
carKindCode String -- 新核心车险批单-车辆种类 carKindCode String , -- 新核心车险批单-车辆种类
vehiclecode String , -- 新核心车险批单-车型(用这个)
newCarFlag String -- 新核心车险批单-新车标识(用这个)
), ),
plcApplicant array<row( plcApplicant array<row(
customerName String -- 新核心车险批单-投保人名称 customerName String -- 新核心车险批单-投保人名称
......
...@@ -28,8 +28,8 @@ select ...@@ -28,8 +28,8 @@ select
,data.phoneNumber AS phoneNumber ,data.phoneNumber AS phoneNumber
,data.longitude AS longitude ,data.longitude AS longitude
,data.latitude AS latitude ,data.latitude AS latitude
,data.damageTypeDesc AS damageTypeDesc ,data.damageTypeDesc AS damageTypeDesc
,data.damageCourse AS damageCourse ,REGEXP_REPLACE(LTRIM(RTRIM(data.damageCourse)),'\n','') AS damageCourse
from XF_CK.XF_CK_KAFKA.CAR_REGIST_JSON s1 from XF_CK.XF_CK_KAFKA.CAR_REGIST_JSON s1
; ;
...@@ -63,6 +63,6 @@ select ...@@ -63,6 +63,6 @@ select
,data.longitude AS longitude ,data.longitude AS longitude
,data.latitude AS latitude ,data.latitude AS latitude
,data.damageTypeDesc AS damageTypeDesc ,data.damageTypeDesc AS damageTypeDesc
,data.damageCourse AS damageCourse ,REGEXP_REPLACE(LTRIM(RTRIM(data.damageCourse)),'\n','') AS damageCourse
from XF_CK.XF_CK_KAFKA_BJ.CAR_REGIST_JSON s1 from XF_CK.XF_CK_KAFKA_BJ.CAR_REGIST_JSON s1
; ;
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -86,7 +86,9 @@ ENDOR_PLCBASIC ...@@ -86,7 +86,9 @@ ENDOR_PLCBASIC
vehicleId String , -- 新核心车险批单-车型 vehicleId String , -- 新核心车险批单-车型
newVehicleFlag String , -- 新核心车险批单-新车标识 newVehicleFlag String , -- 新核心车险批单-新车标识
carUserNatureCode String , -- 新核心车险批单-车辆使用性质 carUserNatureCode String , -- 新核心车险批单-车辆使用性质
carKindCode String -- 新核心车险批单-车辆种类 carKindCode String , -- 新核心车险批单-车辆种类
vehiclecode String , -- 新核心车险批单-车型(用这个)
newCarFlag String -- 新核心车险批单-新车标识(用这个)
), ),
plcApplicant array<row( plcApplicant array<row(
customerName String -- 新核心车险批单-投保人名称 customerName String -- 新核心车险批单-投保人名称
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment