超市订单

This commit is contained in:
gaowdong 2025-03-10 15:01:18 +08:00
parent a4ed486695
commit 661f58b325
3 changed files with 4 additions and 3 deletions

View File

@ -40,6 +40,7 @@ import java.util.stream.Collectors;
@Service
public class MgrAuthApi {
@Autowired
private MgrRoleOrgMapper mgrRoleOrgMapper;
@Autowired

View File

@ -4,10 +4,10 @@ import cn.hutool.core.lang.tree.Tree;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bonus.canteen.core.common.base.BaseController;
import com.bonus.canteen.core.common.utils.AesEncryptUtil;
import com.bonus.canteen.core.customer.dto.CustOrgPageDTO;
import com.bonus.canteen.core.customer.service.CustOrgService;
import com.bonus.canteen.core.customer.vo.CustOrgVO;
import com.bonus.common.houqin.utils.AesEncryptUtil;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.slf4j.Logger;
@ -91,7 +91,7 @@ public class CustOrgController extends BaseController {
// }
@ApiOperation("商户权限组织树")
@GetMapping({"/tenant/tree"})
@PostMapping({"/tenant/tree"})
// @RequiresAuthentication
public List<Tree<Long>> getTenantOrgTree() {
return this.custOrgService.getTenantOrgTree();

View File

@ -124,7 +124,7 @@ public class DeviceInfoController {
)
@PostMapping({"/getMachineByPage", "getMachineTypeByPage"})
// @RequiresAuthentication
public PageVO<MachineCounterVO> getMachineByPage(@RequestBody String content) {
public PageVO<MachineCounterVO> getMachineByPage(@RequestParam String content) {
MachineCounterTypeDto oldDto = QueryParseHelper.getParamFromContent(content, MachineCounterTypeDto.class);
DeviceSearchDTO param = DeviceDtoConverter.toDeviceSearchDTO(oldDto);
PageDTO page = QueryParseHelper.getPageFromContent(content);