|
|
@@ -44,12 +44,6 @@
|
|
|
where pd_pbid = #{id,jdbcType=INTEGER}
|
|
|
</delete>
|
|
|
|
|
|
- <update id="updateByAmount">
|
|
|
- update recbalance set rb_amount = (select sum(ifnull(rd_amount,0.0)) from recbalancedet where rd_rbid = rb_id )
|
|
|
- where rb_id = #{id,jdbcType=INTEGER} and companyId =#{companyId}
|
|
|
- exists (select 1 from recbalancedet where rd_rbid = rb_id );
|
|
|
- </update>
|
|
|
-
|
|
|
<!--<insert id="insert" parameterType="com.usoftchina.saas.money.po.Paybalancedet" >-->
|
|
|
<insert id="insert" parameterType="com.usoftchina.saas.money.po.Paybalancedet" >
|
|
|
insert into paybalancedet (pd_id, pd_pbid, pd_detno,
|