提交 6468bf38 编写于 作者: rushui.chen's avatar rushui.chen

20191216 mybatis中的转义字符

上级 dacfab50
流水线 #18861 已失败 于阶段
in 0 second
......@@ -83,13 +83,13 @@
creat_id,
</if>
<if test="creatTime != null">
creat_time,
NOW(),
</if>
<if test="modifyId != null">
modify_id,
</if>
<if test="modifyTime != null">
modify_time,
NOW(),
</if>
<if test="password != null">
password,
......@@ -101,7 +101,7 @@
entire_flag,
</if>
<if test="regTime != null">
reg_time,
NOW(),
</if>
<if test="lastLoginTime != null">
last_login_time,
......@@ -119,7 +119,7 @@
register_type,
</if>
<if test="firstLoginTime != null">
first_login_time,
NOW(),
</if>
<if test="card != null">
card,
......
......@@ -92,14 +92,17 @@
<insert id="updateDoctorModifyRecord">
insert into log_p_doctor(`doctor_id`, `sex`, `name`, `mobile_phone`, `tel`, `status`, `type`, `hospital_id`,
`department_id`, `title_id`, `hospital`, `department`, `title`, `cert_image_url`, `avatar_image_url`, `auth_time`,
`department_id`, `title_id`, `hospital`, `department`, `title`, `cert_image_url`, `avatar_image_url`,
`auth_time`,
`honor`, `skills`, `thumb_up_num`, `email`, `qrcode`, `nickname`, `personal_sign`, `delete_flag`, `creat_id`,
`creat_time`, `modify_id`, `modify_time`, `praise_num`, `password`, `info`, `rank`, `province`, `province_name`,
`city`, `city_name`, `county`, `county_name`, `town`, `town_name`, `invite_code`, `invite_start_time`,
`gaoxueya_password`, `sms_send_num`, `total_sms_send_num`, `entire_flag`, `doctor_project_type`, `reg_time`,
`last_login_time`, `unionid`, `register_source`, `comment`, `administer_title_id`, `administer_title`, `register_type`,
`last_login_time`, `unionid`, `register_source`, `comment`, `administer_title_id`, `administer_title`,
`register_type`,
`first_login_time`, `card`, `birthday`, `show_flag`, `acct_id`)
SELECT * FROM p_doctor where modify_time > DATE_SUB(DATE_FORMAT(NOW(),'%Y-%m-%d %H:00:00'),INTERVAL 1 hour) and modify_time < DATE_FORMAT(NOW(), '%Y-%m-%d %H:00:00')
SELECT * FROM p_doctor where modify_time &gt; DATE_SUB(DATE_FORMAT(NOW(),'%Y-%m-%d %H:00:00'),INTERVAL 1 hour)
and modify_time &lt; DATE_FORMAT(NOW(), '%Y-%m-%d %H:00:00')
</insert>
<!--通过手机号查询用户id-->
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册