| | |
| | | import com.matrix.core.tools.WebUtil; |
| | | import com.matrix.system.app.dto.*; |
| | | import com.matrix.system.common.bean.SysUsers; |
| | | import com.matrix.system.common.tools.DataAuthUtil; |
| | | import com.matrix.system.hive.action.util.QueryUtil; |
| | | import com.matrix.system.hive.bean.*; |
| | | import com.matrix.system.hive.dao.*; |
| | | import com.matrix.system.hive.plugin.util.CollectionUtils; |
| | |
| | | @PostMapping(value = "/findFollowup") |
| | | public AjaxResult findFollowup(@RequestBody @Validated FollowupListDto followupListDto) { |
| | | SysUsers user = WebUtil.getSessionAttribute(MatrixConstance.LOGIN_KEY); |
| | | followupListDto.setShopId(user.getShopId()); |
| | | if(!DataAuthUtil.hasAllShopAuth()){ |
| | | followupListDto.setShopId(user.getShopId()); |
| | | } |
| | | followupListDto.setCompanyId(user.getCompanyId()); |
| | | followupListDto.setSelfStaff(user.getSuId()); |
| | | //TODO 需要设置跨店数据权限 |