This commit is contained in:
parent
92279a4d1c
commit
39b8332243
|
|
@ -87,7 +87,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
select count(*) from repair_apply_record where part_id = #{id}
|
select count(*) from repair_apply_record where part_id = #{id}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<insert id="insertPartType" parameterType="com.bonus.material.ma.domain.PartType" useGeneratedKeys="true" keyProperty="paId">
|
<insert id="insertPartType" parameterType="com.bonus.material.ma.domain.PartType">
|
||||||
insert into ma_part_type
|
insert into ma_part_type
|
||||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
<if test="paName != null and paName != ''">pa_name,</if>
|
<if test="paName != null and paName != ''">pa_name,</if>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue