|
@@ -20,6 +20,7 @@
|
|
<result column="status" property="status"/>
|
|
<result column="status" property="status"/>
|
|
<result column="type" property="type"/>
|
|
<result column="type" property="type"/>
|
|
<result column="totalFee" property="totalFee"/>
|
|
<result column="totalFee" property="totalFee"/>
|
|
|
|
+ <result column="example" property="example"/>
|
|
<result column="proceOrderNo" property="proceOrderNo"/>
|
|
<result column="proceOrderNo" property="proceOrderNo"/>
|
|
<result column="payStatus" property="payStatus"/>
|
|
<result column="payStatus" property="payStatus"/>
|
|
<collection property="invoice" ofType="com.bosshand.virgo.api.workark.model.Invoice" resultMap="com.bosshand.virgo.api.workark.dao.InvoiceDao.result" columnPrefix="invoice_"/>
|
|
<collection property="invoice" ofType="com.bosshand.virgo.api.workark.model.Invoice" resultMap="com.bosshand.virgo.api.workark.dao.InvoiceDao.result" columnPrefix="invoice_"/>
|
|
@@ -65,8 +66,8 @@
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<insert id="save" parameterType="com.bosshand.virgo.api.workark.model.Proce" useGeneratedKeys="true" keyProperty="id">
|
|
<insert id="save" parameterType="com.bosshand.virgo.api.workark.model.Proce" useGeneratedKeys="true" keyProperty="id">
|
|
- INSERT into workark_proce(name, parentId, orderId, productId, productLevelId, sequence, attachment, attachmentNumber, attachmentContent, roleId, remark, type, totalFee)
|
|
|
|
- values(#{name}, #{parentId}, #{orderId}, #{productId}, #{productLevelId}, #{sequence}, #{attachment}, #{attachmentNumber}, #{attachmentContent}, #{roleId}, #{remark}, #{type}, #{totalFee})
|
|
|
|
|
|
+ INSERT into workark_proce(name, parentId, orderId, productId, productLevelId, sequence, attachment, attachmentNumber, attachmentContent, roleId, remark, type, totalFee, example)
|
|
|
|
+ values(#{name}, #{parentId}, #{orderId}, #{productId}, #{productLevelId}, #{sequence}, #{attachment}, #{attachmentNumber}, #{attachmentContent}, #{roleId}, #{remark}, #{type}, #{totalFee}, #{example})
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|
<update id="update" parameterType="com.bosshand.virgo.api.workark.model.Proce">
|
|
<update id="update" parameterType="com.bosshand.virgo.api.workark.model.Proce">
|
|
@@ -83,6 +84,7 @@
|
|
<if test="attachmentContent!=null">attachmentContent=#{attachmentContent},</if>
|
|
<if test="attachmentContent!=null">attachmentContent=#{attachmentContent},</if>
|
|
<if test="type!=null">type=#{type},</if>
|
|
<if test="type!=null">type=#{type},</if>
|
|
<if test="totalFee!=null">totalFee=#{totalFee},</if>
|
|
<if test="totalFee!=null">totalFee=#{totalFee},</if>
|
|
|
|
+ <if test="example!=null">example=#{example},</if>
|
|
attachmentNumber=#{attachmentNumber},
|
|
attachmentNumber=#{attachmentNumber},
|
|
sequence=#{sequence},
|
|
sequence=#{sequence},
|
|
</trim>
|
|
</trim>
|