增加客户名
This commit is contained in:
+10
-1
@@ -4,6 +4,8 @@ import java.util.Date;
|
|||||||
|
|
||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
|
import com.fangjia.dal.sql.model.User;
|
||||||
|
import com.fangjia.service.sql.UserService;
|
||||||
import org.apache.commons.lang.StringUtils;
|
import org.apache.commons.lang.StringUtils;
|
||||||
import org.bson.types.ObjectId;
|
import org.bson.types.ObjectId;
|
||||||
|
|
||||||
@@ -39,6 +41,7 @@ public class GuzhiController {
|
|||||||
private EvaluationService evaluationService;
|
private EvaluationService evaluationService;
|
||||||
private SmsService smsService;
|
private SmsService smsService;
|
||||||
private DistrictService districtService;
|
private DistrictService districtService;
|
||||||
|
private UserService userService;
|
||||||
|
|
||||||
private static final String DING_MSG_ROBOT_ID = "58c62a54d92790b58177c6d6";
|
private static final String DING_MSG_ROBOT_ID = "58c62a54d92790b58177c6d6";
|
||||||
|
|
||||||
@@ -150,7 +153,9 @@ public class GuzhiController {
|
|||||||
UniversalDto dto = UniversalDto.newDto();
|
UniversalDto dto = UniversalDto.newDto();
|
||||||
dto.append("caseId", model.getCaseId());
|
dto.append("caseId", model.getCaseId());
|
||||||
mv.setModel(BasicModel.buildOKModel().setResult(dto));
|
mv.setModel(BasicModel.buildOKModel().setResult(dto));
|
||||||
String msg = "【房价网-人工估值】接收到新的人工询价,请求请及时处理!城市:" + evaluation.getCity()
|
|
||||||
|
User user = userService.findById(token.getUserId());
|
||||||
|
String msg = "【房价网-人工估值】客户: "+user.getDisplayName()+" 提交新的人工询价,请求请及时处理!城市:" + evaluation.getCity()
|
||||||
+ " 区域:" + evaluation.getRegion() + " 小区名:" + evaluation.getDistrictName();
|
+ " 区域:" + evaluation.getRegion() + " 小区名:" + evaluation.getDistrictName();
|
||||||
DingDingMessageUtil.sendTextMessage("065f4a05d5f87eb39a9f9e048eeefb80c1f7560446f8926441de80453c160c60", msg);
|
DingDingMessageUtil.sendTextMessage("065f4a05d5f87eb39a9f9e048eeefb80c1f7560446f8926441de80453c160c60", msg);
|
||||||
return mv;
|
return mv;
|
||||||
@@ -183,4 +188,8 @@ public class GuzhiController {
|
|||||||
public void setDistrictService(DistrictService districtService) {
|
public void setDistrictService(DistrictService districtService) {
|
||||||
this.districtService = districtService;
|
this.districtService = districtService;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void setUserService(UserService userService) {
|
||||||
|
this.userService = userService;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user