bug
This commit is contained in:
parent
b5e0736479
commit
0f3675df58
|
|
@ -300,6 +300,7 @@ public class BackApplyServiceImpl implements BackApplyService {
|
|||
List<BackApplyInfo> backApplyDetails = bean.getBackApplyDetails();
|
||||
for (BackApplyInfo backApplyDetail : backApplyDetails) {
|
||||
bean.setAuditNum(backApplyDetail.getNum());
|
||||
bean.setTypeId(backApplyDetail.getTypeId());
|
||||
re = backApplyMapper.audit(bean);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -312,7 +312,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
LEFT JOIN back_apply_details bad on bad.parent_id=bai.id
|
||||
SET bad.audit_num=#{auditNum},bai.direct_audit_by=#{createBy},bai.status=#{status},bai.direct_audit_time=NOW()
|
||||
WHERE
|
||||
bai.id = #{id}
|
||||
bad.type_id = #{typeId}
|
||||
<if test="companyId != null and companyId != ''">
|
||||
and bai.company_id = #{companyId}
|
||||
</if>
|
||||
|
|
|
|||
Loading…
Reference in New Issue