Commit 406855c1 authored by chenzhao's avatar chenzhao

勘察信息业务员与制单人展示问题 勘察保存按钮不更新勘察状态

parent afbf6c74
...@@ -222,7 +222,7 @@ public class SurveyInformationServiceImpl extends BaseService<SurveyInformationD ...@@ -222,7 +222,7 @@ public class SurveyInformationServiceImpl extends BaseService<SurveyInformationD
peasantHousehold.setPermanentAddressName(permanentAddressName.substring(0, permanentAddressName.length() - 1)); peasantHousehold.setPermanentAddressName(permanentAddressName.substring(0, permanentAddressName.length() - 1));
if(OPERATION_TYPE_SUBMIT.equals(operationType)){ if(OPERATION_TYPE_SUBMIT.equals(operationType)){
peasantHousehold.setSurveyOrNot(1); // peasantHousehold.setSurveyOrNot(1);
}else if(OPERATION_TYPE_APPLY.equals(operationType)){ }else if(OPERATION_TYPE_APPLY.equals(operationType)){
// 提交审核 // 提交审核
submitExamine(peasantHousehold); submitExamine(peasantHousehold);
...@@ -424,9 +424,9 @@ public class SurveyInformationServiceImpl extends BaseService<SurveyInformationD ...@@ -424,9 +424,9 @@ public class SurveyInformationServiceImpl extends BaseService<SurveyInformationD
surveyInfoAllDto.getSurveyInformation().setDeveloperCode(userUnitInformationDto.getAmosDealerOrgCode()); surveyInfoAllDto.getSurveyInformation().setDeveloperCode(userUnitInformationDto.getAmosDealerOrgCode());
surveyInfoAllDto.getSurveyInformation().setDeveloperId(userUnitInformationDto.getAmosDealerId()); surveyInfoAllDto.getSurveyInformation().setDeveloperId(userUnitInformationDto.getAmosDealerId());
if(surveyInfoAllDto.getSurveyInformation().getSalesmanId()==null){ if(surveyInfoAllDto.getSurveyInformation().getSalesmanId()==null){
surveyInfoAllDto.getSurveyInformation().setSalesmanId(userInfo.getUserId()); surveyInfoAllDto.getSurveyInformation().setSalesmanId(peasantHousehold.getDeveloperUserId());
surveyInfoAllDto.getSurveyInformation().setSalesman(userInfo.getRealName()); surveyInfoAllDto.getSurveyInformation().setSalesman(peasantHousehold.getDeveloper());
surveyInfoAllDto.getSurveyInformation().setCreator(userInfo.getRealName()); surveyInfoAllDto.getSurveyInformation().setCreator(peasantHousehold.getDeveloper());
} }
if (!StringUtils.isEmpty(peasantHousehold.getProjectAddressName())) { if (!StringUtils.isEmpty(peasantHousehold.getProjectAddressName())) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment