|
@ -131,7 +131,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<include refid="selectSysSalesOrderVo"/> |
|
|
<include refid="selectSysSalesOrderVo"/> |
|
|
where sales_order_id = #{salesOrderId} |
|
|
where sales_order_id = #{salesOrderId} |
|
|
</select> |
|
|
</select> |
|
|
|
|
|
<select id="selectSysSalesOrderBySalesOrderCode" resultMap="SysSalesOrderResult"> |
|
|
|
|
|
<include refid="selectSysSalesOrderVo"/> |
|
|
|
|
|
where sales_order_code = #{salesOrderCode} |
|
|
|
|
|
</select> |
|
|
|
|
|
|
|
|
<insert id="insertSysSalesOrder" parameterType="SysSalesOrder" useGeneratedKeys="true" keyProperty="salesOrderId"> |
|
|
<insert id="insertSysSalesOrder" parameterType="SysSalesOrder" useGeneratedKeys="true" keyProperty="salesOrderId"> |
|
|
insert into sys_sales_order |
|
|
insert into sys_sales_order |
|
|
<trim prefix="(" suffix=")" suffixOverrides=","> |
|
|
<trim prefix="(" suffix=")" suffixOverrides=","> |
|
|