|
|
@@ -8,9 +8,11 @@ import com.goafanti.common.error.BusinessException;
|
|
|
import com.goafanti.common.model.*;
|
|
|
import com.goafanti.common.utils.PasswordUtil;
|
|
|
import com.goafanti.core.mybatis.BaseMybatisDao;
|
|
|
-import com.goafanti.core.mybatis.page.Pagination;
|
|
|
import com.goafanti.core.shiro.token.TokenManager;
|
|
|
-import com.goafanti.customer.bo.*;
|
|
|
+import com.goafanti.customer.bo.InputUserClueBo;
|
|
|
+import com.goafanti.customer.bo.InputUserClueList;
|
|
|
+import com.goafanti.customer.bo.InputUserClueTransferBo;
|
|
|
+import com.goafanti.customer.bo.OutUserClueExcel;
|
|
|
import com.goafanti.customer.service.UserClueService;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
@@ -49,16 +51,13 @@ public class UserClueServiceImpl extends BaseMybatisDao<UserMapper> implements U
|
|
|
public Object list(InputUserClueList in) {
|
|
|
if (TokenManager.hasRole(AFTConstants.SUPERADMIN)){
|
|
|
in.setShiroType(0);
|
|
|
- }else if(TokenManager.hasRole(AFTConstants.CLUE_MANAGER)){
|
|
|
- in.setShiroType(1);
|
|
|
- }else {
|
|
|
+ }
|
|
|
+ if (in.getShiroType()==null){
|
|
|
in.setShiroType(2);
|
|
|
}
|
|
|
in.setAid(TokenManager.getAdminId());
|
|
|
-
|
|
|
if(in.getEndTime()!=null)in.setEndTime(in.getEndTime()+ " 23:59:59");
|
|
|
- Pagination<OutUserClueList> page = (Pagination<OutUserClueList>) findPage("selectUserClueList", "selectUserClueCount", in);
|
|
|
- return page;
|
|
|
+ return findPage("selectUserClueList", "selectUserClueCount", in);
|
|
|
}
|
|
|
|
|
|
@Override
|