|
|
@@ -1,6 +1,7 @@
|
|
|
package com.steerinfo.dil.controller;
|
|
|
|
|
|
|
|
|
+import com.steerinfo.dil.aspect.LogAspect;
|
|
|
import com.steerinfo.dil.feign.SSOFeign;
|
|
|
import com.steerinfo.dil.mapper.BackgroundProcessingMapper;
|
|
|
import com.steerinfo.dil.mapper.OmstruckOrderMapper;
|
|
|
@@ -10,6 +11,7 @@ import com.steerinfo.dil.util.BaseRESTfulController;
|
|
|
import com.steerinfo.dil.util.DataChange;
|
|
|
import com.steerinfo.framework.controller.RESTfulResult;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
+import org.apache.log4j.Logger;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
@@ -17,10 +19,7 @@ import com.steerinfo.dil.util.SSOUtil;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
import java.math.BigDecimal;
|
|
|
-import java.util.ArrayList;
|
|
|
-import java.util.HashMap;
|
|
|
-import java.util.List;
|
|
|
-import java.util.Map;
|
|
|
+import java.util.*;
|
|
|
|
|
|
/*
|
|
|
* 后台处理程序
|
|
|
@@ -37,6 +36,8 @@ public class BackgroundProcessingController extends BaseRESTfulController {
|
|
|
@Resource
|
|
|
SSOUtil ssoUtil;
|
|
|
|
|
|
+ static final Logger log = Logger.getLogger(BackgroundProcessingController.class);
|
|
|
+
|
|
|
@ApiOperation("登录接口")
|
|
|
@PostMapping("bpLogin")
|
|
|
public Map<String,Object> bpLogin(@RequestParam String loginName, @RequestParam String password, @RequestParam String app_code) {
|