|
@ -69,6 +69,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<include refid="selectSysSalesOrderChild"/> |
|
|
<include refid="selectSysSalesOrderChild"/> |
|
|
where a.quoteId = #{quoteId} |
|
|
where a.quoteId = #{quoteId} |
|
|
</select> |
|
|
</select> |
|
|
|
|
|
<select id="selectOneByQuoteIdAndMaterialCode" resultMap="SysSalesOrderChildResult"> |
|
|
|
|
|
<include refid="selectSysSalesOrderChild"/> |
|
|
|
|
|
where a.quoteId = #{quoteId} |
|
|
|
|
|
and a.materialCode = #{materialCode} |
|
|
|
|
|
</select> |
|
|
<insert id="insertSysSalesOrderChild" parameterType="SysSalesOrderChild" useGeneratedKeys="true" keyProperty="id"> |
|
|
<insert id="insertSysSalesOrderChild" parameterType="SysSalesOrderChild" useGeneratedKeys="true" keyProperty="id"> |
|
|
insert into sys_sales_order_child |
|
|
insert into sys_sales_order_child |
|
|
<trim prefix="(" suffix=")" suffixOverrides=","> |
|
|
<trim prefix="(" suffix=")" suffixOverrides=","> |
|
|