提交 92f1b62a 编写于 作者: wangyongbo's avatar wangyongbo

刷数据

上级 8c33a30d
...@@ -204,6 +204,7 @@ public class RefreshServiceImpl implements RefreshService { ...@@ -204,6 +204,7 @@ public class RefreshServiceImpl implements RefreshService {
logger.info("开始处理数据:第" + index + "条, patientId=" + realPatient.getPatientId() + ",id=" + realPatient.getId()); logger.info("开始处理数据:第" + index + "条, patientId=" + realPatient.getPatientId() + ",id=" + realPatient.getId());
} }
id = realPatient.getId();
} }
} }
} }
......
...@@ -255,7 +255,7 @@ ...@@ -255,7 +255,7 @@
values (#{doctorId,jdbcType=INTEGER}, #{patientId,jdbcType=INTEGER}, values (#{doctorId,jdbcType=INTEGER}, #{patientId,jdbcType=INTEGER},
#{type,jdbcType=TINYINT}, #{validateCode,jdbcType=VARCHAR}, #{deleteFlag,jdbcType=TINYINT}, #{type,jdbcType=TINYINT}, #{validateCode,jdbcType=VARCHAR}, #{deleteFlag,jdbcType=TINYINT},
#{createdId,jdbcType=INTEGER}, #{createdTime,jdbcType=TIMESTAMP}, #{modifiedId,jdbcType=INTEGER}, #{createdId,jdbcType=INTEGER}, #{createdTime,jdbcType=TIMESTAMP}, #{modifiedId,jdbcType=INTEGER},
#{modifiedTime,jdbcType=TIMESTAMP}) #{modifiedTime,jdbcType=TIMESTAMP}
) )
</insert> </insert>
...@@ -268,9 +268,9 @@ ...@@ -268,9 +268,9 @@
case when tor.user_type = 1 then tmp.validate_code else '' end as validateCode, case when tor.user_type = 1 then tmp.validate_code else '' end as validateCode,
tmp.delete_flag AS deleteFlag, tmp.delete_flag AS deleteFlag,
tor.prescriber_id as createdId, tor.prescriber_id as createdId,
tmp.created_time as createdTime, toa.created_time as createdTime,
tor.prescriber_id as modifiedId, tor.prescriber_id as modifiedId,
tmp.created_time as modifiedTime toa.created_time as modifiedTime
from from
pica_trade.trade_mobile_phone_real tmp, pica_trade.trade_mobile_phone_real tmp,
pica_trade.trade_order_address toa, pica_trade.trade_order_address toa,
...@@ -291,9 +291,9 @@ ...@@ -291,9 +291,9 @@
'' as validateCode, '' as validateCode,
tmp.delete_flag AS deleteFlag, tmp.delete_flag AS deleteFlag,
fpor.doctor_id as createdId, fpor.doctor_id as createdId,
tmp.created_time as createdTime, fpor.created_time as createdTime,
fpor.doctor_id as modifiedId, fpor.doctor_id as modifiedId,
tmp.created_time as modifiedTime fpor.created_time as modifiedTime
from from
pica_trade.trade_mobile_phone_real tmp, pica_trade.trade_mobile_phone_real tmp,
pica_follow_up.fu_plan_order_scales fpor pica_follow_up.fu_plan_order_scales fpor
...@@ -321,7 +321,7 @@ ...@@ -321,7 +321,7 @@
values (#{doctorId,jdbcType=INTEGER}, #{patientId,jdbcType=INTEGER}, values (#{doctorId,jdbcType=INTEGER}, #{patientId,jdbcType=INTEGER},
#{type,jdbcType=TINYINT}, #{validateCode,jdbcType=VARCHAR}, #{deleteFlag,jdbcType=TINYINT}, #{type,jdbcType=TINYINT}, #{validateCode,jdbcType=VARCHAR}, #{deleteFlag,jdbcType=TINYINT},
#{createdId,jdbcType=INTEGER}, #{createdTime,jdbcType=TIMESTAMP}, #{modifiedId,jdbcType=INTEGER}, #{createdId,jdbcType=INTEGER}, #{createdTime,jdbcType=TIMESTAMP}, #{modifiedId,jdbcType=INTEGER},
#{modifiedTime,jdbcType=TIMESTAMP}) #{modifiedTime,jdbcType=TIMESTAMP}
) )
</insert> </insert>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册