|
@@ -38,13 +38,18 @@
|
|
<result property="isDel" column="is_del"/>
|
|
<result property="isDel" column="is_del"/>
|
|
<result property="operationType" column="operation_type"/>
|
|
<result property="operationType" column="operation_type"/>
|
|
<result property="vaccineInfoId" column="vaccine_info_id"/>
|
|
<result property="vaccineInfoId" column="vaccine_info_id"/>
|
|
- <result property="code" column="code" />
|
|
|
|
- <result property="birthday" column="birthday" />
|
|
|
|
- <result property="workUnit" column="work_unit" />
|
|
|
|
|
|
+ <result property="manufacturer" column="manufacturer"/>
|
|
<result property="crowdClassification" column="crowd_classification" />
|
|
<result property="crowdClassification" column="crowd_classification" />
|
|
- <result property="manufacturer" column="manufacturer" />
|
|
|
|
|
|
+ <result property="workUnit" column="work_unit" />
|
|
|
|
+ <result property="birthday" column="birthday" />
|
|
|
|
+ <result property="code" column="code" />
|
|
<result property="nowIn" column="now_in" />
|
|
<result property="nowIn" column="now_in" />
|
|
<result property="url" column="url" />
|
|
<result property="url" column="url" />
|
|
|
|
+ <result property="suspendUrl" column="suspend_url" />
|
|
|
|
+ <result property="otherUrl" column="other_url" />
|
|
|
|
+ <result property="age" column="age" />
|
|
|
|
+ <result property="vaccineTimeNext" column="vaccine_time_next" />
|
|
|
|
+ <result property="shouldSlow" column="should_slow" />
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectVaccineInfoOperationVo">
|
|
<sql id="selectVaccineInfoOperationVo">
|
|
@@ -53,7 +58,8 @@
|
|
vaccine_name, jici, vaccination_time, vaccination_place, contraindication,
|
|
vaccine_name, jici, vaccination_time, vaccination_place, contraindication,
|
|
suspend, should_be, other, progress, remark, status,
|
|
suspend, should_be, other, progress, remark, status,
|
|
create_by, create_time, update_by, update_time, is_del, operation_type,
|
|
create_by, create_time, update_by, update_time, is_del, operation_type,
|
|
- vaccine_info_id,code,birthday,work_unit,crowd_classification,manufacturer, now_in, url
|
|
|
|
|
|
+ vaccine_info_id,code,birthday,work_unit,crowd_classification,manufacturer, now_in, url,suspend_url,other_url,age,
|
|
|
|
+ vaccine_time_next,should_slow
|
|
from vaccine_info_operation
|
|
from vaccine_info_operation
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
@@ -95,6 +101,11 @@
|
|
<if test="manufacturer != null and manufacturer != ''"> and manufacturer = #{manufacturer}</if>
|
|
<if test="manufacturer != null and manufacturer != ''"> and manufacturer = #{manufacturer}</if>
|
|
<if test="nowIn != null and nowIn != ''"> and now_in = #{nowIn}</if>
|
|
<if test="nowIn != null and nowIn != ''"> and now_in = #{nowIn}</if>
|
|
<if test="url != null and url != ''"> and url = #{url}</if>
|
|
<if test="url != null and url != ''"> and url = #{url}</if>
|
|
|
|
+ <if test="suspendUrl != null and suspendUrl != ''"> and suspend_url = #{suspendUrl}</if>
|
|
|
|
+ <if test="otherUrl != null and otherUrl != ''"> and other_url = #{otherUrl}</if>
|
|
|
|
+ <if test="age != null and age != ''"> and age = #{age}</if>
|
|
|
|
+ <if test="vaccineTimeNext != null and vaccineTimeNext != ''"> and vaccine_time_next = #{vaccineTimeNext}</if>
|
|
|
|
+ <if test="shouldSlow != null and shouldSlow != ''"> and should_slow = #{shouldSlow}</if>
|
|
</where>
|
|
</where>
|
|
</select>
|
|
</select>
|
|
|
|
|
|
@@ -145,6 +156,11 @@
|
|
<if test="manufacturer != null and manufacturer != ''">manufacturer,</if>
|
|
<if test="manufacturer != null and manufacturer != ''">manufacturer,</if>
|
|
<if test="nowIn != null and nowIn != ''">now_in,</if>
|
|
<if test="nowIn != null and nowIn != ''">now_in,</if>
|
|
<if test="url != null and url != ''">url,</if>
|
|
<if test="url != null and url != ''">url,</if>
|
|
|
|
+ <if test="suspendUrl != null and suspendUrl != ''">suspend_url,</if>
|
|
|
|
+ <if test="otherUrl != null and otherUrl != ''">other_url,</if>
|
|
|
|
+ <if test="age != null and age != ''">age,</if>
|
|
|
|
+ <if test="vaccineTimeNext != null and vaccineTimeNext != ''">vaccine_time_next,</if>
|
|
|
|
+ <if test="shouldSlow != null and shouldSlow != ''">should_slow,</if>
|
|
create_time
|
|
create_time
|
|
</trim>
|
|
</trim>
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
@@ -186,6 +202,11 @@
|
|
<if test="manufacturer != null and manufacturer != ''">#{manufacturer},</if>
|
|
<if test="manufacturer != null and manufacturer != ''">#{manufacturer},</if>
|
|
<if test="nowIn != null and nowIn != ''">#{nowIn},</if>
|
|
<if test="nowIn != null and nowIn != ''">#{nowIn},</if>
|
|
<if test="url != null and url != ''">#{url},</if>
|
|
<if test="url != null and url != ''">#{url},</if>
|
|
|
|
+ <if test="suspendUrl != null and suspendUrl != ''">#{suspendUrl},</if>
|
|
|
|
+ <if test="otherUrl != null and otherUrl != ''">#{url},</if>
|
|
|
|
+ <if test="age != null and age != ''">#{age},</if>
|
|
|
|
+ <if test="vaccineTimeNext != null and vaccineTimeNext != ''">#{vaccine_time_next},</if>
|
|
|
|
+ <if test="shouldSlow != null and shouldSlow != ''">#{shouldSlow},</if>
|
|
sysdate()
|
|
sysdate()
|
|
</trim>
|
|
</trim>
|
|
</insert>
|
|
</insert>
|
|
@@ -229,6 +250,11 @@
|
|
<if test="manufacturer != null and manufacturer != ''">manufacturer = #{manufacturer},</if>
|
|
<if test="manufacturer != null and manufacturer != ''">manufacturer = #{manufacturer},</if>
|
|
<if test="nowIn != null and nowIn != ''">now_in = #{nowIn},</if>
|
|
<if test="nowIn != null and nowIn != ''">now_in = #{nowIn},</if>
|
|
<if test="url != null and url != ''">url = #{url},</if>
|
|
<if test="url != null and url != ''">url = #{url},</if>
|
|
|
|
+ <if test="suspendUrl != null and suspendUrl != ''">suspend_url = #{suspendUrl},</if>
|
|
|
|
+ <if test="otherUrl != null and otherUrl != ''">other_url = #{otherUrl},</if>
|
|
|
|
+ <if test="age != null and age != ''">age = #{age},</if>
|
|
|
|
+ <if test="vaccineTimeNext != null and vaccineTimeNext != ''">vaccine_time_next = #{vaccineTimeNext},</if>
|
|
|
|
+ <if test="shouldSlow != null and shouldSlow != ''">should_slow = #{shouldSlow},</if>
|
|
update_by = sysdate()
|
|
update_by = sysdate()
|
|
</trim>
|
|
</trim>
|
|
where id = #{id}
|
|
where id = #{id}
|