|
|
|
@ -12,6 +12,7 @@ import com.daqing.financial.guarantee.model.response.AuditOpinionResponse; |
|
|
|
|
import com.daqing.financial.guarantee.model.response.DgWorkConferenceConsiderQueryResponse; |
|
|
|
|
import com.daqing.financial.guarantee.model.response.DgWorkConferenceResponse; |
|
|
|
|
import com.daqing.financial.guarantee.model.response.GuaranteeDetailResponse; |
|
|
|
|
import com.daqing.financial.guarantee.service.IDgCopyForService; |
|
|
|
|
import com.daqing.financial.guarantee.service.IDgGuaranteeAssignUserService; |
|
|
|
|
import com.daqing.financial.guarantee.service.IDgWorkConferenceConsiderService; |
|
|
|
|
import com.daqing.financial.guarantee.util.AuditProcessUtil; |
|
|
|
@ -38,8 +39,10 @@ import org.springframework.transaction.annotation.Transactional; |
|
|
|
|
import org.springframework.web.context.request.RequestContextHolder; |
|
|
|
|
import org.springframework.web.context.request.ServletRequestAttributes; |
|
|
|
|
|
|
|
|
|
import javax.annotation.Resource; |
|
|
|
|
import javax.servlet.http.HttpServletRequest; |
|
|
|
|
import javax.servlet.http.HttpServletResponse; |
|
|
|
|
import java.io.IOException; |
|
|
|
|
import java.util.ArrayList; |
|
|
|
|
import java.util.Date; |
|
|
|
|
import java.util.List; |
|
|
|
@ -69,6 +72,9 @@ public class DgWorkConferenceConsiderServiceImpl extends ServiceImpl<DgWorkConfe |
|
|
|
|
@Autowired |
|
|
|
|
private HrmsFeignService hrmsFeignService; |
|
|
|
|
|
|
|
|
|
@Resource |
|
|
|
|
private IDgCopyForService dgCopyForService; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 列表 |
|
|
|
|
*/ |
|
|
|
@ -154,6 +160,13 @@ public class DgWorkConferenceConsiderServiceImpl extends ServiceImpl<DgWorkConfe |
|
|
|
|
Boolean result = this.getBaseMapper().check(id, Integer.parseInt(userId), opinion, |
|
|
|
|
StatusCode.SP_REVIEWED, StatusCode.CZ_ON_HAND, new Date(), names.toString()); |
|
|
|
|
if (result) { |
|
|
|
|
boolean b=false; |
|
|
|
|
try { |
|
|
|
|
b=dgCopyForService.copySendUser(this.getBaseMapper().getWorkConferenceConsider(id).getBusinessId(),6,id); |
|
|
|
|
} catch (IOException e) { |
|
|
|
|
e.printStackTrace(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// 在业务流程表中插入一条审议通过的数据
|
|
|
|
|
String departmentId = OrdinaryUtil.getDepartmentId(Integer.parseInt(userId)); |
|
|
|
|
return AuditProcessUtil.save(Integer.parseInt(userId),this.getBaseMapper().getWorkConferenceConsider(id).getBusinessId(), DgApplyAmountInfoController.getAccount(), |
|
|
|
@ -179,6 +192,13 @@ public class DgWorkConferenceConsiderServiceImpl extends ServiceImpl<DgWorkConfe |
|
|
|
|
Boolean result2 = dgComplianceInvestigationMapper.updateBusinessStatusByBusinessId( |
|
|
|
|
this.getBaseMapper().getWorkConferenceConsider(id).getBusinessId(), StatusCode.YW_REJECTED); |
|
|
|
|
if (result2) { |
|
|
|
|
boolean b=false; |
|
|
|
|
try { |
|
|
|
|
b=dgCopyForService.copySendUser(this.getBaseMapper().getWorkConferenceConsider(id).getBusinessId(),6,id); |
|
|
|
|
} catch (IOException e) { |
|
|
|
|
e.printStackTrace(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// 在业务流程表中插入一条拒绝数据(记得带上拒绝意见)
|
|
|
|
|
String departmentId = OrdinaryUtil.getDepartmentId(Integer.parseInt(userId)); |
|
|
|
|
return AuditProcessUtil.save(Integer.parseInt(userId),this.getBaseMapper().getWorkConferenceConsider(id).getBusinessId(), DgApplyAmountInfoController.getAccount(), |
|
|
|
|