|
@@ -13,6 +13,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="realVal" column="real_val" />
|
|
|
<result property="zkzDown" column="zkz_down" />
|
|
|
<result property="zkzUp" column="zkz_up" />
|
|
|
+ <result property="canAdd" column="can_add" />
|
|
|
<result property="delFlag" column="del_flag" />
|
|
|
<result property="revision" column="revision" />
|
|
|
<result property="createBy" column="create_by" />
|
|
@@ -23,7 +24,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectTXinyiMedicineAddRecordVo">
|
|
|
- select id, add_hour, choose_pool, add_pool, calculate_val, real_val, zkz_down, zkz_up, del_flag, revision, create_by, create_time, update_by, update_time, remark from t_xinyi_medicine_add_record
|
|
|
+ select id, add_hour, choose_pool, add_pool, calculate_val, real_val, zkz_down, zkz_up, can_add, del_flag, revision, create_by, create_time, update_by, update_time, remark from t_xinyi_medicine_add_record
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectTXinyiMedicineAddRecordList" parameterType="TXinyiMedicineAddRecord" resultMap="TXinyiMedicineAddRecordResult">
|
|
@@ -37,6 +38,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="realVal != null "> and real_val = #{realVal}</if>
|
|
|
<if test="zkzDown != null "> and zkz_down = #{zkzDown}</if>
|
|
|
<if test="zkzUp != null "> and zkz_up = #{zkzUp}</if>
|
|
|
+ <if test="canAdd != null "> and can_add = #{canAdd}</if>
|
|
|
<if test="revision != null "> and revision = #{revision}</if>
|
|
|
</where>
|
|
|
and del_flag = 0 order by id desc
|
|
@@ -57,6 +59,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="realVal != null">real_val,</if>
|
|
|
<if test="zkzDown != null">zkz_down,</if>
|
|
|
<if test="zkzUp != null">zkz_up,</if>
|
|
|
+ <if test="canAdd != null">can_add,</if>
|
|
|
<if test="delFlag != null">del_flag,</if>
|
|
|
<if test="revision != null">revision,</if>
|
|
|
<if test="createBy != null">create_by,</if>
|
|
@@ -73,6 +76,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="realVal != null">#{realVal},</if>
|
|
|
<if test="zkzDown != null">#{zkzDown},</if>
|
|
|
<if test="zkzUp != null">#{zkzUp},</if>
|
|
|
+ <if test="canAdd != null">#{canAdd},</if>
|
|
|
<if test="delFlag != null">#{delFlag},</if>
|
|
|
<if test="revision != null">#{revision},</if>
|
|
|
<if test="createBy != null">#{createBy},</if>
|
|
@@ -93,6 +97,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="realVal != null">real_val = #{realVal},</if>
|
|
|
<if test="zkzDown != null">zkz_down = #{zkzDown},</if>
|
|
|
<if test="zkzUp != null">zkz_up = #{zkzUp},</if>
|
|
|
+ <if test="canAdd != null">can_add = #{canAdd},</if>
|
|
|
<if test="delFlag != null">del_flag = #{delFlag},</if>
|
|
|
<if test="revision != null">revision = #{revision},</if>
|
|
|
<if test="createBy != null">create_by = #{createBy},</if>
|