영수증 삭제 및 일일 개수 추가
This commit is contained in:
@@ -14,6 +14,19 @@
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<select id="removeDailyIncomeReceipt">
|
||||
<if test="removeIds != null and removeIds != ''">
|
||||
update receipt_has_record set
|
||||
<include refid="common.fields.DeleteBaseSet"/>
|
||||
where is_deleted = false
|
||||
and type = 'INCOME'
|
||||
and receipt_type_id IN
|
||||
<foreach collection="removeIds" item="id" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<select id="removeDailyWork">
|
||||
<if test="removeIds != null and removeIds != ''">
|
||||
update daily_work set
|
||||
@@ -38,6 +51,19 @@
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<select id="removeDailyExpenseReceipt">
|
||||
<if test="removeIds != null and removeIds != ''">
|
||||
update receipt_has_record set
|
||||
<include refid="common.fields.DeleteBaseSet"/>
|
||||
where is_deleted = false
|
||||
and type = 'EXPENSE'
|
||||
and receipt_type_id IN
|
||||
<foreach collection="removeIds" item="id" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<select id="removeDailyPower">
|
||||
<if test="removeIds != null and removeIds != ''">
|
||||
update daily_power set
|
||||
|
||||
Reference in New Issue
Block a user