nidapeng
2024-04-09 16c34dd4aab509f301714b04e546e9c3e7da0367
提交一把
已修改2个文件
6 ■■■■ 文件已修改
company/src/components/business/modification.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
server/service/src/main/java/com/doumee/service/business/impl/CompanyServiceImpl.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/business/modification.vue
@@ -73,7 +73,7 @@
import GlobalWindow from '@/components/common/GlobalWindow'
import { all, listForCompany } from '@/api/business/solutions'
import { updateSolutions, pageAll as shopList } from '@/api/business/company'
import {updateSolutions, pageAll as shopList, allForFp} from '@/api/business/company'
export default {
  name: 'modification',
@@ -145,7 +145,7 @@
        .then(res => {
          this.programme = res
        })
      shopList({ type: 1, status: 0 })
      allForFp({ type: 1, status: 0 })
        .then(res => {
          console.log(res)
          this.shops = res
server/service/src/main/java/com/doumee/service/business/impl/CompanyServiceImpl.java
@@ -783,7 +783,7 @@
        company.setIsdeleted(Constants.ZERO);
        LoginUserInfo user = (LoginUserInfo) SecurityUtils.getSubject().getPrincipal();
        if(Constants.equalsInteger(company.getType(),Constants.ONE)){
                return new ArrayList<>();
//                return new ArrayList<>();
        }else  {
            if(Constants.equalsInteger(user.getType(),Constants.TWO)){
                //如果是商户