parent
e390fc4a7d
commit
fa17cd9ac7
File diff suppressed because it is too large
Load Diff
|
@ -36,6 +36,7 @@ public class AePushVoucherLogDaoImpl extends MybatisGenericDao<AePushVoucherLogE
|
||||||
AePushVoucherLogEntity save = this.save(aePushVoucherLogEntity);
|
AePushVoucherLogEntity save = this.save(aePushVoucherLogEntity);
|
||||||
return save;
|
return save;
|
||||||
}else {
|
}else {
|
||||||
|
aePushVoucherLogEntity.setId(query.get(0).getId());
|
||||||
this.update(aePushVoucherLogEntity);
|
this.update(aePushVoucherLogEntity);
|
||||||
return aePushVoucherLogEntity;
|
return aePushVoucherLogEntity;
|
||||||
}
|
}
|
||||||
|
|
|
@ -397,7 +397,9 @@
|
||||||
update ae_push_voucher_log_details
|
update ae_push_voucher_log_details
|
||||||
set sts= 'N',
|
set sts= 'N',
|
||||||
modify_time = now()
|
modify_time = now()
|
||||||
where id = #{id}
|
where 1=1
|
||||||
|
<if test="id !=null" >and id = #{id}</if>
|
||||||
|
<if test="voucherId !=null" >and voucher_id = #{voucherId}</if>
|
||||||
</update>
|
</update>
|
||||||
<!-- 多条件逻辑删除 -->
|
<!-- 多条件逻辑删除 -->
|
||||||
<update id="entity_logicDelete_Multi_Condition"
|
<update id="entity_logicDelete_Multi_Condition"
|
||||||
|
|
|
@ -163,6 +163,9 @@ public class AePushVoucherLogServiceImpl extends BaseService<AePushVoucherLogEnt
|
||||||
|
|
||||||
String billCode = entity.getBillCode();
|
String billCode = entity.getBillCode();
|
||||||
String status = entity.getBillStatus();
|
String status = entity.getBillStatus();
|
||||||
|
if("".equals(status)){
|
||||||
|
status=null;
|
||||||
|
}
|
||||||
|
|
||||||
//单据号
|
//单据号
|
||||||
if (billCode != null && status == null) {
|
if (billCode != null && status == null) {
|
||||||
|
|
Loading…
Reference in New Issue