|
|
@ -131,6 +131,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<include refid="selectSysSalesOrderVo"/> |
|
|
|
where sales_order_id = #{salesOrderId} |
|
|
|
</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 into sys_sales_order |
|
|
|