Commit 6d61a0b1 authored by 赵啸非's avatar 赵啸非

添加站点事项部门名称

parent 9dc5e6da
...@@ -44,7 +44,7 @@ import java.util.concurrent.atomic.AtomicBoolean; ...@@ -44,7 +44,7 @@ import java.util.concurrent.atomic.AtomicBoolean;
@Slf4j @Slf4j
@Aspect @Aspect
@Configuration(proxyBeanMethods = false) @Configuration(proxyBeanMethods = false)
@Profile({"develop1"}) @Profile({"test"})
public class RequestLogAspect { public class RequestLogAspect {
private static final ParameterNameDiscoverer PARAMETER_NAME_DISCOVERER = new DefaultParameterNameDiscoverer(); private static final ParameterNameDiscoverer PARAMETER_NAME_DISCOVERER = new DefaultParameterNameDiscoverer();
......
package com.mortals.xhx.module.matter.web; package com.mortals.xhx.module.matter.web;
import com.mortals.framework.util.DataUtil;
import com.mortals.framework.web.BasePhpCRUDJsonMappingController; import com.mortals.framework.web.BasePhpCRUDJsonMappingController;
import com.mortals.xhx.base.system.param.service.ParamService; import com.mortals.xhx.base.system.param.service.ParamService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
...@@ -97,7 +98,7 @@ public class MatterController extends BasePhpCRUDJsonMappingController<MatterSer ...@@ -97,7 +98,7 @@ public class MatterController extends BasePhpCRUDJsonMappingController<MatterSer
JSONObject jsonObject = new JSONObject(); JSONObject jsonObject = new JSONObject();
Map<String, Object> model = new HashMap<String, Object>(); Map<String, Object> model = new HashMap<String, Object>();
String matterIds = (String) map.get("matterIds"); String matterIds = (String) map.get("matterIds");
Long siteId = (Long) map.get("siteId"); Long siteId = DataUtil.converStr2Long(map.get("siteId").toString(),0L) ;
try { try {
this.service.addMatterToSite(matterIds, siteId, getContext()); this.service.addMatterToSite(matterIds, siteId, getContext());
......
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