|
@@ -10,17 +10,17 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="description" column="description" />
|
|
|
<result property="caseNumber" column="case_number" />
|
|
|
<result property="isDelete" column="is_delete" />
|
|
|
- <result property="createdBy" column="created_by" />
|
|
|
- <result property="createdTime" column="created_time" />
|
|
|
- <result property="updatedBy" column="updated_by" />
|
|
|
- <result property="updatedTime" column="updated_time" />
|
|
|
+ <result property="createBy" column="create_by" />
|
|
|
+ <result property="createTime" column="create_time" />
|
|
|
+ <result property="updateBy" column="update_by" />
|
|
|
+ <result property="updateTime" column="update_time" />
|
|
|
<result property="parameter" column="parameter" />
|
|
|
<result property="location" column="location" />
|
|
|
<result property="solution" column="solution" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectFaultCaseVo">
|
|
|
- select id, case_name, description, case_number, is_delete, created_by, created_time, updated_by, updated_time, parameter, location, solution from phm_fault_case
|
|
|
+ select id, case_name, description, case_number, is_delete, create_by, create_time, update_by, update_time, parameter, location, solution from phm_fault_case
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectFaultCaseList" parameterType="FaultCase" resultMap="FaultCaseResult">
|
|
@@ -30,10 +30,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="description != null and description != ''"> and description = #{description}</if>
|
|
|
<if test="caseNumber != null and caseNumber != ''"> and case_number = #{caseNumber}</if>
|
|
|
<if test="isDelete != null "> and is_delete = #{isDelete}</if>
|
|
|
- <if test="createdBy != null and createdBy != ''"> and created_by = #{createdBy}</if>
|
|
|
- <if test="createdTime != null "> and created_time = #{createdTime}</if>
|
|
|
- <if test="updatedBy != null and updatedBy != ''"> and updated_by = #{updatedBy}</if>
|
|
|
- <if test="updatedTime != null "> and updated_time = #{updatedTime}</if>
|
|
|
+ <if test="createBy != null and createBy != ''"> and create_by = #{createBy}</if>
|
|
|
+ <if test="createTime != null "> and create_time = #{createTime}</if>
|
|
|
+ <if test="updateBy != null and updateBy != ''"> and update_by = #{updateBy}</if>
|
|
|
+ <if test="updateTime != null "> and update_time = #{updateTime}</if>
|
|
|
<if test="parameter != null and parameter != ''"> and parameter = #{parameter}</if>
|
|
|
<if test="location != null and location != ''"> and location = #{location}</if>
|
|
|
<if test="solution != null and solution != ''"> and solution = #{solution}</if>
|
|
@@ -52,10 +52,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="description != null">description,</if>
|
|
|
<if test="caseNumber != null">case_number,</if>
|
|
|
<if test="isDelete != null">is_delete,</if>
|
|
|
- <if test="createdBy != null">created_by,</if>
|
|
|
- <if test="createdTime != null">created_time,</if>
|
|
|
- <if test="updatedBy != null">updated_by,</if>
|
|
|
- <if test="updatedTime != null">updated_time,</if>
|
|
|
+ <if test="createBy != null">create_by,</if>
|
|
|
+ <if test="createTime != null">create_time,</if>
|
|
|
+ <if test="updateBy != null">update_by,</if>
|
|
|
+ <if test="updateTime != null">update_time,</if>
|
|
|
<if test="parameter != null">parameter,</if>
|
|
|
<if test="location != null">location,</if>
|
|
|
<if test="solution != null">solution,</if>
|
|
@@ -65,10 +65,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="description != null">#{description},</if>
|
|
|
<if test="caseNumber != null">#{caseNumber},</if>
|
|
|
<if test="isDelete != null">#{isDelete},</if>
|
|
|
- <if test="createdBy != null">#{createdBy},</if>
|
|
|
- <if test="createdTime != null">#{createdTime},</if>
|
|
|
- <if test="updatedBy != null">#{updatedBy},</if>
|
|
|
- <if test="updatedTime != null">#{updatedTime},</if>
|
|
|
+ <if test="createBy != null">#{createBy},</if>
|
|
|
+ <if test="createTime != null">#{createTime},</if>
|
|
|
+ <if test="updateBy != null">#{updateBy},</if>
|
|
|
+ <if test="updateTime != null">#{updateTime},</if>
|
|
|
<if test="parameter != null">#{parameter},</if>
|
|
|
<if test="location != null">#{location},</if>
|
|
|
<if test="solution != null">#{solution},</if>
|
|
@@ -82,10 +82,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="description != null">description = #{description},</if>
|
|
|
<if test="caseNumber != null">case_number = #{caseNumber},</if>
|
|
|
<if test="isDelete != null">is_delete = #{isDelete},</if>
|
|
|
- <if test="createdBy != null">created_by = #{createdBy},</if>
|
|
|
- <if test="createdTime != null">created_time = #{createdTime},</if>
|
|
|
- <if test="updatedBy != null">updated_by = #{updatedBy},</if>
|
|
|
- <if test="updatedTime != null">updated_time = #{updatedTime},</if>
|
|
|
+ <if test="createBy != null">create_by = #{createBy},</if>
|
|
|
+ <if test="createTime != null">create_time = #{createTime},</if>
|
|
|
+ <if test="updateBy != null">update_by = #{updateBy},</if>
|
|
|
+ <if test="updateTime != null">update_time = #{updateTime},</if>
|
|
|
<if test="parameter != null">parameter = #{parameter},</if>
|
|
|
<if test="location != null">location = #{location},</if>
|
|
|
<if test="solution != null">solution = #{solution},</if>
|