修改mapper的xml的错误
This commit is contained in:
parent
36b33bb252
commit
bcced53755
@ -82,7 +82,7 @@
|
|||||||
`status`, del_flag, tenant_id,
|
`status`, del_flag, tenant_id,
|
||||||
create_time, create_by, update_time,
|
create_time, create_by, update_time,
|
||||||
update_by)
|
update_by)
|
||||||
values (#{type,jdbcType=SMALLINT}, #{title,jdbcType=VARCHAR}, #{content,jdbcType=VARCHAR}, #{faultTime, jdbc=TIMESTAMP}
|
values (#{type,jdbcType=SMALLINT}, #{title,jdbcType=VARCHAR}, #{content,jdbcType=VARCHAR}, #{faultTime, jdbcType=TIMESTAMP}
|
||||||
#{deviceType,jdbcType=VARCHAR}, #{serialNumber,jdbcType=VARCHAR}, #{deptId,jdbcType=BIGINT},
|
#{deviceType,jdbcType=VARCHAR}, #{serialNumber,jdbcType=VARCHAR}, #{deptId,jdbcType=BIGINT},
|
||||||
#{userId,jdbcType=BIGINT}, #{reason,jdbcType=VARCHAR}, #{disposalMethod,jdbcType=VARCHAR},
|
#{userId,jdbcType=BIGINT}, #{reason,jdbcType=VARCHAR}, #{disposalMethod,jdbcType=VARCHAR},
|
||||||
#{status,jdbcType=SMALLINT}, 0, #{tenantId,jdbcType=VARCHAR},
|
#{status,jdbcType=SMALLINT}, 0, #{tenantId,jdbcType=VARCHAR},
|
||||||
@ -149,7 +149,7 @@
|
|||||||
#{content,jdbcType=VARCHAR},
|
#{content,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
<if test="faultTIme!=null">
|
<if test="faultTIme!=null">
|
||||||
#{faultTime, jdbc=TIMESTAMP},
|
#{faultTime, jdbcType=TIMESTAMP},
|
||||||
</if>
|
</if>
|
||||||
<if test="deviceType != null">
|
<if test="deviceType != null">
|
||||||
#{deviceType,jdbcType=VARCHAR},
|
#{deviceType,jdbcType=VARCHAR},
|
||||||
@ -199,7 +199,7 @@
|
|||||||
content = #{content,jdbcType=VARCHAR},
|
content = #{content,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
<if test="faultTime!=null">
|
<if test="faultTime!=null">
|
||||||
fault_time = #{faultTime, jdbc=TIMESTAMP},
|
fault_time = #{faultTime, jdbcType=TIMESTAMP},
|
||||||
</if>
|
</if>
|
||||||
<if test="deviceType != null">
|
<if test="deviceType != null">
|
||||||
device_type = #{deviceType,jdbcType=VARCHAR},
|
device_type = #{deviceType,jdbcType=VARCHAR},
|
||||||
@ -237,7 +237,7 @@
|
|||||||
set `type` = #{type,jdbcType=SMALLINT},
|
set `type` = #{type,jdbcType=SMALLINT},
|
||||||
title = #{title,jdbcType=VARCHAR},
|
title = #{title,jdbcType=VARCHAR},
|
||||||
content = #{content,jdbcType=VARCHAR},
|
content = #{content,jdbcType=VARCHAR},
|
||||||
fault_time = #{faultTime, jdbc=TIMESTAMP},
|
fault_time = #{faultTime, jdbcType=TIMESTAMP},
|
||||||
device_type = #{deviceType,jdbcType=VARCHAR},
|
device_type = #{deviceType,jdbcType=VARCHAR},
|
||||||
serial_number = #{serialNumber,jdbcType=VARCHAR},
|
serial_number = #{serialNumber,jdbcType=VARCHAR},
|
||||||
dept_id = #{deptId,jdbcType=BIGINT},
|
dept_id = #{deptId,jdbcType=BIGINT},
|
||||||
|
|||||||
@ -39,7 +39,7 @@
|
|||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
|
|
||||||
<select id="selectByName">
|
<select id="selectByName" resultType="com.xhpc.workorder.domain.XhpcWorkStationDomain">
|
||||||
select
|
select
|
||||||
<include refid="Base_Column_List" />
|
<include refid="Base_Column_List" />
|
||||||
from xhpc_work_station
|
from xhpc_work_station
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user