|
@ -103,9 +103,9 @@ public class DcEventServiceImpl implements IDcEventService { |
|
|
|
|
|
|
|
|
//获取当前登录用户信息
|
|
|
//获取当前登录用户信息
|
|
|
LoginUser loginUser = getLoginUser(); |
|
|
LoginUser loginUser = getLoginUser(); |
|
|
String userName = loginUser.getUser().getUserName(); |
|
|
Long userId = loginUser.getUser().getUserId(); |
|
|
//设置处理人员
|
|
|
//设置处理人员
|
|
|
dcEvent.setHandlingPerson(userName); |
|
|
dcEvent.setHandlingPerson(userId); |
|
|
if (dcEvent.getEventOtherConfig()!=null){ |
|
|
if (dcEvent.getEventOtherConfig()!=null){ |
|
|
Map<String, Object> eventOtherConfig = dcEvent.getEventOtherConfig(); |
|
|
Map<String, Object> eventOtherConfig = dcEvent.getEventOtherConfig(); |
|
|
// 将 Map 对象转成 JSON 字符串
|
|
|
// 将 Map 对象转成 JSON 字符串
|
|
@ -134,6 +134,12 @@ if (dcEvent.getEventOtherConfig()!=null){ |
|
|
*/ |
|
|
*/ |
|
|
@Override |
|
|
@Override |
|
|
public int updateDcEvent(DcEvent dcEvent) { |
|
|
public int updateDcEvent(DcEvent dcEvent) { |
|
|
|
|
|
//获取当前登录用户信息
|
|
|
|
|
|
LoginUser loginUser = getLoginUser(); |
|
|
|
|
|
Long userId = loginUser.getUser().getUserId(); |
|
|
|
|
|
//设置处理人员
|
|
|
|
|
|
dcEvent.setHandlingPerson(userId); |
|
|
|
|
|
|
|
|
if (dcEvent.getEventOtherConfig()!=null){ |
|
|
if (dcEvent.getEventOtherConfig()!=null){ |
|
|
Map<String, Object> eventOtherConfig = dcEvent.getEventOtherConfig(); |
|
|
Map<String, Object> eventOtherConfig = dcEvent.getEventOtherConfig(); |
|
|
// 将 Map 对象转成 JSON 字符串
|
|
|
// 将 Map 对象转成 JSON 字符串
|
|
|