|
|
@ -25,6 +25,7 @@ import com.daqing.framework.domain.guarantee.GuaranteeCode; |
|
|
|
import com.daqing.framework.domain.guarantee.po.DgWorkConferencePO; |
|
|
|
import com.daqing.framework.domain.guarantee.po.DgWorkConferencePO; |
|
|
|
import com.daqing.framework.domain.guarantee.po.StatusPO; |
|
|
|
import com.daqing.framework.domain.guarantee.po.StatusPO; |
|
|
|
import com.daqing.framework.exception.ExceptionCast; |
|
|
|
import com.daqing.framework.exception.ExceptionCast; |
|
|
|
|
|
|
|
import com.daqing.framework.model.StatusCode; |
|
|
|
import com.daqing.framework.model.response.PromptSuccess; |
|
|
|
import com.daqing.framework.model.response.PromptSuccess; |
|
|
|
import com.daqing.framework.util.RedisUtil; |
|
|
|
import com.daqing.framework.util.RedisUtil; |
|
|
|
import com.google.common.collect.Maps; |
|
|
|
import com.google.common.collect.Maps; |
|
|
@ -308,7 +309,11 @@ public class DgEfficiencyServiceImpl extends ServiceImpl<DgEfficiencyMapper, DgA |
|
|
|
statusPO.setProcessId(2); |
|
|
|
statusPO.setProcessId(2); |
|
|
|
statusPO.setName(name); |
|
|
|
statusPO.setName(name); |
|
|
|
statusPO.setStatus(status); |
|
|
|
statusPO.setStatus(status); |
|
|
|
|
|
|
|
//相同业务中,如果已经是待处理则数据不覆盖
|
|
|
|
|
|
|
|
StatusPO po = (StatusPO)hashMap.get(businessId); |
|
|
|
|
|
|
|
if (!po.getOperatingStatus().equals(StatusCode.CZ_ON_HAND)){ |
|
|
|
hashMap.put(businessId, statusPO); |
|
|
|
hashMap.put(businessId, statusPO); |
|
|
|
|
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -330,7 +335,11 @@ public class DgEfficiencyServiceImpl extends ServiceImpl<DgEfficiencyMapper, DgA |
|
|
|
statusPO.setProcessId(3); |
|
|
|
statusPO.setProcessId(3); |
|
|
|
statusPO.setName(name); |
|
|
|
statusPO.setName(name); |
|
|
|
statusPO.setStatus(status); |
|
|
|
statusPO.setStatus(status); |
|
|
|
|
|
|
|
//相同业务中,如果已经是待处理则数据不覆盖
|
|
|
|
|
|
|
|
StatusPO po = (StatusPO)hashMap.get(businessId); |
|
|
|
|
|
|
|
if (!po.getOperatingStatus().equals(StatusCode.CZ_ON_HAND)){ |
|
|
|
hashMap.put(businessId, statusPO); |
|
|
|
hashMap.put(businessId, statusPO); |
|
|
|
|
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -352,7 +361,11 @@ public class DgEfficiencyServiceImpl extends ServiceImpl<DgEfficiencyMapper, DgA |
|
|
|
statusPO.setProcessId(4); |
|
|
|
statusPO.setProcessId(4); |
|
|
|
statusPO.setName(name); |
|
|
|
statusPO.setName(name); |
|
|
|
statusPO.setStatus(status); |
|
|
|
statusPO.setStatus(status); |
|
|
|
|
|
|
|
//相同业务中,如果已经是待处理则数据不覆盖
|
|
|
|
|
|
|
|
StatusPO po = (StatusPO)hashMap.get(businessId); |
|
|
|
|
|
|
|
if (!po.getOperatingStatus().equals(StatusCode.CZ_ON_HAND)){ |
|
|
|
hashMap.put(businessId, statusPO); |
|
|
|
hashMap.put(businessId, statusPO); |
|
|
|
|
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -375,7 +388,11 @@ public class DgEfficiencyServiceImpl extends ServiceImpl<DgEfficiencyMapper, DgA |
|
|
|
statusPO.setProcessId(5); |
|
|
|
statusPO.setProcessId(5); |
|
|
|
statusPO.setName(name); |
|
|
|
statusPO.setName(name); |
|
|
|
statusPO.setStatus(status); |
|
|
|
statusPO.setStatus(status); |
|
|
|
|
|
|
|
//相同业务中,如果已经是待处理则数据不覆盖
|
|
|
|
|
|
|
|
StatusPO po = (StatusPO)hashMap.get(businessId); |
|
|
|
|
|
|
|
if (!po.getOperatingStatus().equals(StatusCode.CZ_ON_HAND)){ |
|
|
|
hashMap.put(businessId, statusPO); |
|
|
|
hashMap.put(businessId, statusPO); |
|
|
|
|
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -396,7 +413,11 @@ public class DgEfficiencyServiceImpl extends ServiceImpl<DgEfficiencyMapper, DgA |
|
|
|
statusPO.setProcessId(6); |
|
|
|
statusPO.setProcessId(6); |
|
|
|
statusPO.setName(name); |
|
|
|
statusPO.setName(name); |
|
|
|
statusPO.setStatus(status); |
|
|
|
statusPO.setStatus(status); |
|
|
|
|
|
|
|
//相同业务中,如果已经是待处理则数据不覆盖
|
|
|
|
|
|
|
|
StatusPO po = (StatusPO)hashMap.get(businessId); |
|
|
|
|
|
|
|
if (!po.getOperatingStatus().equals(StatusCode.CZ_ON_HAND)){ |
|
|
|
hashMap.put(businessId, statusPO); |
|
|
|
hashMap.put(businessId, statusPO); |
|
|
|
|
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -417,7 +438,11 @@ public class DgEfficiencyServiceImpl extends ServiceImpl<DgEfficiencyMapper, DgA |
|
|
|
statusPO.setProcessId(7); |
|
|
|
statusPO.setProcessId(7); |
|
|
|
statusPO.setName(name); |
|
|
|
statusPO.setName(name); |
|
|
|
statusPO.setStatus(status); |
|
|
|
statusPO.setStatus(status); |
|
|
|
|
|
|
|
//相同业务中,如果已经是待处理则数据不覆盖
|
|
|
|
|
|
|
|
StatusPO po = (StatusPO)hashMap.get(businessId); |
|
|
|
|
|
|
|
if (!po.getOperatingStatus().equals(StatusCode.CZ_ON_HAND)){ |
|
|
|
hashMap.put(businessId, statusPO); |
|
|
|
hashMap.put(businessId, statusPO); |
|
|
|
|
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -439,7 +464,11 @@ public class DgEfficiencyServiceImpl extends ServiceImpl<DgEfficiencyMapper, DgA |
|
|
|
statusPO.setProcessId(8); |
|
|
|
statusPO.setProcessId(8); |
|
|
|
statusPO.setName(name); |
|
|
|
statusPO.setName(name); |
|
|
|
statusPO.setStatus(status); |
|
|
|
statusPO.setStatus(status); |
|
|
|
|
|
|
|
//相同业务中,如果已经是待处理则数据不覆盖
|
|
|
|
|
|
|
|
StatusPO po = (StatusPO)hashMap.get(businessId); |
|
|
|
|
|
|
|
if (!po.getOperatingStatus().equals(StatusCode.CZ_ON_HAND)){ |
|
|
|
hashMap.put(businessId, statusPO); |
|
|
|
hashMap.put(businessId, statusPO); |
|
|
|
|
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -461,7 +490,11 @@ public class DgEfficiencyServiceImpl extends ServiceImpl<DgEfficiencyMapper, DgA |
|
|
|
statusPO.setProcessId(9); |
|
|
|
statusPO.setProcessId(9); |
|
|
|
statusPO.setName(name); |
|
|
|
statusPO.setName(name); |
|
|
|
statusPO.setStatus(status); |
|
|
|
statusPO.setStatus(status); |
|
|
|
|
|
|
|
//相同业务中,如果已经是待处理则数据不覆盖
|
|
|
|
|
|
|
|
StatusPO po = (StatusPO)hashMap.get(businessId); |
|
|
|
|
|
|
|
if (!po.getOperatingStatus().equals(StatusCode.CZ_ON_HAND)){ |
|
|
|
hashMap.put(businessId, statusPO); |
|
|
|
hashMap.put(businessId, statusPO); |
|
|
|
|
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -483,7 +516,11 @@ public class DgEfficiencyServiceImpl extends ServiceImpl<DgEfficiencyMapper, DgA |
|
|
|
statusPO.setProcessId(10); |
|
|
|
statusPO.setProcessId(10); |
|
|
|
statusPO.setName(name); |
|
|
|
statusPO.setName(name); |
|
|
|
statusPO.setStatus(status); |
|
|
|
statusPO.setStatus(status); |
|
|
|
|
|
|
|
//相同业务中,如果已经是待处理则数据不覆盖
|
|
|
|
|
|
|
|
StatusPO po = (StatusPO)hashMap.get(businessId); |
|
|
|
|
|
|
|
if (!po.getOperatingStatus().equals(StatusCode.CZ_ON_HAND)){ |
|
|
|
hashMap.put(businessId, statusPO); |
|
|
|
hashMap.put(businessId, statusPO); |
|
|
|
|
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -501,8 +538,6 @@ public class DgEfficiencyServiceImpl extends ServiceImpl<DgEfficiencyMapper, DgA |
|
|
|
DgApplyAmountInfo dgApplyAmountInfo = applyAmountInfoMapper.selectById(key); |
|
|
|
DgApplyAmountInfo dgApplyAmountInfo = applyAmountInfoMapper.selectById(key); |
|
|
|
//业务申请日期
|
|
|
|
//业务申请日期
|
|
|
|
Date createTime = dgApplyAmountInfo.getCreateTime(); |
|
|
|
Date createTime = dgApplyAmountInfo.getCreateTime(); |
|
|
|
//客户公司id
|
|
|
|
|
|
|
|
Integer companyId = dgApplyAmountInfo.getCompanyId(); |
|
|
|
|
|
|
|
//提单人id
|
|
|
|
//提单人id
|
|
|
|
Integer presenterId = dgApplyAmountInfo.getPresenterId(); |
|
|
|
Integer presenterId = dgApplyAmountInfo.getPresenterId(); |
|
|
|
efficiencyListResponse.setOperatingStatus(operatingStatus); |
|
|
|
efficiencyListResponse.setOperatingStatus(operatingStatus); |
|
|
|