|
@@ -3,6 +3,7 @@
|
|
|
<mapper namespace="com.platform.dao.mapper.repair.RepairFeeMapper">
|
|
|
<resultMap id="BaseResultMap" type="com.platform.dao.entity.repair.RepairFee">
|
|
|
<id column="id" jdbcType="VARCHAR" property="id"/>
|
|
|
+ <result column="sb_id" jdbcType="VARCHAR" property="sbId"/>
|
|
|
<result column="repair_id" jdbcType="VARCHAR" property="repairId"/>
|
|
|
<result column="fee" jdbcType="DOUBLE" property="fee"/>
|
|
|
<result column="type" jdbcType="SMALLINT" property="type"/>
|
|
@@ -23,7 +24,7 @@
|
|
|
select="com.platform.dao.mapper.repair.RepairFormMapper.selectNoById"/>
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List">
|
|
|
- id, repair_id, fee, type, reason,
|
|
|
+ id, sb_id, repair_id, fee, type, reason,
|
|
|
fee_date,money_type,
|
|
|
descripition, remark, created_time, update_time,
|
|
|
created_user_id, update_user_id
|
|
@@ -34,10 +35,13 @@ descripition, remark, created_time, update_time,
|
|
|
from t_repair_fee
|
|
|
<where>
|
|
|
<if test="keyword != null and keyword != ''">
|
|
|
- reason like concat('%',#{keyword},'%')
|
|
|
+ and reason like concat('%',#{keyword},'%')
|
|
|
</if>
|
|
|
<if test="repairId != null and repairId != ''">
|
|
|
- repair_id = #{repairId}
|
|
|
+ and repair_id = #{repairId}
|
|
|
+ </if>
|
|
|
+ <if test="sbId != null and sbId != ''">
|
|
|
+ and sb_id = #{sbId}
|
|
|
</if>
|
|
|
</where>
|
|
|
</select>
|