| | |
| | | slAuditRecord.setShenhId(byId.getAdministratorId()); |
| | | slAuditRecord.setType(1); |
| | | slAuditRecord.setState(1); |
| | | slAuditRecord.setCreateTime(new Date()); |
| | | slAuditRecordMapper.insert(slAuditRecord); |
| | | |
| | | SlAuditRecord slAuditRecord1=new SlAuditRecord(); |
| | |
| | | slAuditRecord1.setShenhId(byId.getCompetentId()); |
| | | slAuditRecord1.setType(2); |
| | | slAuditRecord1.setState(1); |
| | | slAuditRecord1.setCreateTime(new Date()); |
| | | slAuditRecordMapper.insert(slAuditRecord1); |
| | | |
| | | SlAuditRecord slAuditRecord2=new SlAuditRecord(); |
| | |
| | | slAuditRecord2.setShenhId(byId.getDirectorId()); |
| | | slAuditRecord2.setType(3); |
| | | slAuditRecord2.setState(1); |
| | | slAuditRecord2.setCreateTime(new Date()); |
| | | slAuditRecordMapper.insert(slAuditRecord2); |
| | | } |
| | | if (slAudit.getType()==2){ |
| | |
| | | slAuditRecord.setShenhId(byId.getAdministratorId()); |
| | | slAuditRecord.setType(1); |
| | | slAuditRecord.setState(1); |
| | | slAuditRecord.setCreateTime(new Date()); |
| | | slAuditRecordMapper.insert(slAuditRecord); |
| | | |
| | | SlAuditRecord slAuditRecord1=new SlAuditRecord(); |
| | |
| | | slAuditRecord1.setShenhId(byId.getCompetentId()); |
| | | slAuditRecord1.setType(2); |
| | | slAuditRecord1.setState(1); |
| | | slAuditRecord1.setCreateTime(new Date()); |
| | | slAuditRecordMapper.insert(slAuditRecord1); |
| | | |
| | | SlAuditRecord slAuditRecord2=new SlAuditRecord(); |
| | |
| | | slAuditRecord2.setShenhId(byId.getDirectorId()); |
| | | slAuditRecord2.setType(3); |
| | | slAuditRecord2.setState(1); |
| | | slAuditRecord2.setCreateTime(new Date()); |
| | | slAuditRecordMapper.insert(slAuditRecord2); |
| | | } |
| | | if (slAudit.getType()==3){ |
| | |
| | | slAuditRecord.setShenhId(byId.getAdministratorId()); |
| | | slAuditRecord.setType(1); |
| | | slAuditRecord.setState(1); |
| | | slAuditRecord.setCreateTime(new Date()); |
| | | slAuditRecordMapper.insert(slAuditRecord); |
| | | |
| | | SlAuditRecord slAuditRecord1=new SlAuditRecord(); |
| | |
| | | slAuditRecord1.setShenhId(byId.getCompetentId()); |
| | | slAuditRecord1.setType(2); |
| | | slAuditRecord1.setState(1); |
| | | slAuditRecord1.setCreateTime(new Date()); |
| | | slAuditRecordMapper.insert(slAuditRecord1); |
| | | |
| | | SlAuditRecord slAuditRecord2=new SlAuditRecord(); |
| | |
| | | slAuditRecord2.setShenhId(byId.getDirectorId()); |
| | | slAuditRecord2.setType(3); |
| | | slAuditRecord2.setState(1); |
| | | slAuditRecord2.setCreateTime(new Date()); |
| | | slAuditRecordMapper.insert(slAuditRecord2); |
| | | } |
| | | |