|
@@ -12,16 +12,14 @@ import com.gree.mall.manager.bean.policy.PolicyVo;
|
|
|
import com.gree.mall.manager.commonmapper.PolicyCMapper;
|
|
|
import com.gree.mall.manager.enums.IsYesNoEnum;
|
|
|
import com.gree.mall.manager.logic.common.CommonLogic;
|
|
|
-import com.gree.mall.manager.plus.entity.AdminWebsit;
|
|
|
-import com.gree.mall.manager.plus.entity.PolicyOrder;
|
|
|
-import com.gree.mall.manager.plus.entity.WebsitUser;
|
|
|
-import com.gree.mall.manager.plus.entity.WorkerPolicy;
|
|
|
+import com.gree.mall.manager.plus.entity.*;
|
|
|
import com.gree.mall.manager.plus.service.AdminWebsitService;
|
|
|
import com.gree.mall.manager.plus.service.PolicyOrderService;
|
|
|
import com.gree.mall.manager.plus.service.WebsitUserService;
|
|
|
import com.gree.mall.manager.zfire.bean.ZfireParamBean;
|
|
|
import com.gree.mall.manager.zfire.util.FieldUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.remoting.RemoteAccessException;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
@@ -109,6 +107,9 @@ public class PolicyOrderLogic {
|
|
|
.eq(PolicyOrder::getType, "IN")
|
|
|
.eq(PolicyOrder::getPolicyOrderStatus, "DGM").one();
|
|
|
|
|
|
+ if (policyOrder == null)
|
|
|
+ throw new RemoteAccessException((String) row.get(1)+"网点下工程师未找到"+(String) row.get(3));
|
|
|
+
|
|
|
|
|
|
if (policyOrder != null) {
|
|
|
WorkerPolicy workerPolicy = new WorkerPolicy();
|