|
|
@@ -577,7 +577,11 @@ public class StoreUserServiceImpl extends ServiceImpl<StoreUserMapper, StoreUser
|
|
|
}
|
|
|
|
|
|
|
|
|
-
|
|
|
+ /**
|
|
|
+ * web端切换商家端用户状态(主账号底下有子账号时禁止禁用;子账号无限制)
|
|
|
+ * @param storeUserParam
|
|
|
+ * @return
|
|
|
+ */
|
|
|
@Override
|
|
|
public R<StoreUserVo> switchingStates(StoreUser storeUserParam) {
|
|
|
StoreUser storeUser = storeUserMapper.selectById(storeUserParam.getId());
|
|
|
@@ -612,6 +616,16 @@ public class StoreUserServiceImpl extends ServiceImpl<StoreUserMapper, StoreUser
|
|
|
return R.data(vo);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 分页查询
|
|
|
+ * @param pageNum
|
|
|
+ * @param pageSize
|
|
|
+ * @param id
|
|
|
+ * @param phone
|
|
|
+ * @param status
|
|
|
+ * @param accountType
|
|
|
+ * @return
|
|
|
+ */
|
|
|
@Override
|
|
|
public String exportExcel(String id, String phone, String status, Integer accountType) throws IOException {
|
|
|
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
|