|
@@ -1745,7 +1745,7 @@ public class ApiController {
|
|
|
// LambdaQueryWrapper<WmScorePackage> scoreQuery = Wrappers.lambdaQuery(query);
|
|
|
|
|
|
IPage<WmScorePackageApiOutput> scorePage;
|
|
|
- // 小程序角色:5-全职学术信息沟通专员, 6-兼职学术信息沟通专员, 10-兼职CRC, 13-HCP, 31-招商经理 (全职/招商经理不用领包)
|
|
|
+ // 小程序角色:5-全职学术信息沟通专员, 6-兼职学术信息沟通专员, 10-兼职CRC, 13-HCP
|
|
|
if (1 == selType && (isZbRole(userVO.getRoleList(), 6) || isZbRole(userVO.getRoleList(), 10)
|
|
|
|| isZbRole(userVO.getRoleList(), 13))) {
|
|
|
WmScorePackage query = new WmScorePackage();
|
|
@@ -1806,8 +1806,22 @@ public class ApiController {
|
|
|
input.setUserId(userVO.getUserId() + "");
|
|
|
// input.setPackageType2(packageType2);
|
|
|
if (isZbRole(userVO.getRoleList(), 5)) {
|
|
|
+ // 小程序角色:5-全职学术信息沟通专员
|
|
|
input.setTypeid("3");
|
|
|
|
|
|
+ if ("2".equals(activeId)) {
|
|
|
+ input.setTaskAddFlag("1");
|
|
|
+ input.setStatus("2");
|
|
|
+ } else if ("3".equals(activeId)) {
|
|
|
+ return R.ok();
|
|
|
+ } else if ("4".equals(activeId)) {
|
|
|
+ input.setStatus("2");
|
|
|
+ input.setTaskAddFlag("0");
|
|
|
+ }
|
|
|
+ } else if (isZbRole(userVO.getRoleList(), 31)) {
|
|
|
+ // 小程序角色:31-招商经理
|
|
|
+ input.setTypeid("5");
|
|
|
+
|
|
|
if ("2".equals(activeId)) {
|
|
|
input.setTaskAddFlag("1");
|
|
|
input.setStatus("2");
|
|
@@ -1819,7 +1833,7 @@ public class ApiController {
|
|
|
}
|
|
|
} else if (isZbRole(userVO.getRoleList(), 6) || isZbRole(userVO.getRoleList(), 10)
|
|
|
|| isZbRole(userVO.getRoleList(), 13)) {
|
|
|
- // 小程序角色:5-全职学术信息沟通专员, 6-兼职学术信息沟通专员, 10-兼职CRC, 13-HCP
|
|
|
+ // 小程序角色:6-兼职学术信息沟通专员, 10-兼职CRC, 13-HCP
|
|
|
input.setTypeid("4");
|
|
|
|
|
|
if ("2".equals(activeId)) {
|