|
@@ -1,7 +1,9 @@
|
|
|
package com.iamberry.rst.controllers.approval;
|
|
|
|
|
|
+import com.iamberry.rst.core.sys.Admin;
|
|
|
import com.iamberry.rst.faces.approval.ApplyPickItemService;
|
|
|
import com.iamberry.rst.faces.approval.ApplyPickService;
|
|
|
+import com.iamberry.rst.faces.sys.SysService;
|
|
|
import com.iamberry.wechat.core.entity.WechatUtils;
|
|
|
import com.iamberry.wechat.tools.ResponseJson;
|
|
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
|
@@ -21,6 +23,8 @@ public class ApplyPickController {
|
|
|
@Autowired
|
|
|
private ApplyPickItemService applyPickItemService;
|
|
|
|
|
|
+ @Autowired
|
|
|
+ private SysService sysService;
|
|
|
|
|
|
/**
|
|
|
* 获取已审批通过的订单
|
|
@@ -44,7 +48,7 @@ public class ApplyPickController {
|
|
|
@RequestMapping("/listApplyPick")
|
|
|
public ResponseJson listApplyPick(HttpServletRequest request) {
|
|
|
String openId = WechatUtils.getUserBySession(request).getUserOpenid();
|
|
|
-
|
|
|
+ Admin admin = sysService.getByOpenid(openId);
|
|
|
|
|
|
|
|
|
return null;
|