|
@@ -4,6 +4,8 @@ import java.io.IOException;
|
|
import java.util.Date;
|
|
import java.util.Date;
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
|
|
|
|
|
+import com.ruoyi.base.staff.domain.Staff;
|
|
|
|
+import com.ruoyi.base.staff.service.IStaffService;
|
|
import com.ruoyi.common.config.RuoYiConfig;
|
|
import com.ruoyi.common.config.RuoYiConfig;
|
|
import com.ruoyi.common.core.domain.entity.SysUser;
|
|
import com.ruoyi.common.core.domain.entity.SysUser;
|
|
import com.ruoyi.common.utils.DateUtils;
|
|
import com.ruoyi.common.utils.DateUtils;
|
|
@@ -42,6 +44,8 @@ public class MemberController extends BaseController
|
|
@Autowired
|
|
@Autowired
|
|
private IMemberService memberService;
|
|
private IMemberService memberService;
|
|
|
|
|
|
|
|
+ @Autowired
|
|
|
|
+ private IStaffService staffService;
|
|
@Autowired
|
|
@Autowired
|
|
private ISysUserService userService;
|
|
private ISysUserService userService;
|
|
|
|
|
|
@@ -129,6 +133,22 @@ public class MemberController extends BaseController
|
|
return getDataTable(list);
|
|
return getDataTable(list);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * app根据userId查询党员风采管理列表
|
|
|
|
+ */
|
|
|
|
+ @PostMapping("/appMemberByUserId")
|
|
|
|
+ @ResponseBody
|
|
|
|
+ @CrossOrigin(origins = "*", maxAge = 3600)
|
|
|
|
+ public TableDataInfo appMemberByUserId(Integer userId)
|
|
|
|
+ {
|
|
|
|
+ startPage();
|
|
|
|
+ Staff staff = staffService.selectStaffByUserId(userId);
|
|
|
|
+ Member member = new Member();
|
|
|
|
+ member.setStaffId(staff.getStaffId());
|
|
|
|
+ List<Member> list = memberService.selectMemberList(member);
|
|
|
|
+ return getDataTable(list);
|
|
|
|
+ }
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 修改党员风采
|
|
* 修改党员风采
|
|
*/
|
|
*/
|