From b23b243473fc9ab20ca62eebf3668c143e2e7d23 Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期三, 24 七月 2024 15:30:53 +0800
Subject: [PATCH] Merge branch '2.0' of http://120.76.84.145:10101/gitblit/r/java/PlayPai into 2.0

---
 cloud-server-management/src/main/java/com/dsh/guns/modular/system/service/impl/TOperatorUserServiceImpl.java |   94 +++++++++++++++--------------------------------
 1 files changed, 30 insertions(+), 64 deletions(-)

diff --git a/cloud-server-management/src/main/java/com/dsh/guns/modular/system/service/impl/TOperatorUserServiceImpl.java b/cloud-server-management/src/main/java/com/dsh/guns/modular/system/service/impl/TOperatorUserServiceImpl.java
index fea1d50..4f67843 100644
--- a/cloud-server-management/src/main/java/com/dsh/guns/modular/system/service/impl/TOperatorUserServiceImpl.java
+++ b/cloud-server-management/src/main/java/com/dsh/guns/modular/system/service/impl/TOperatorUserServiceImpl.java
@@ -49,73 +49,39 @@
     @Autowired
     private WeChatUtil weChatUtil;
 
+//    @Override
+//    public void mgtShopAuth(MgtShopAuthDto mgtShopAuthDto) {
+//
+//        OperatorAuthAlipay shopAuthentication = new OperatorAuth();
+//
+//        if(mgtShopAuthDto.getBlBusinessFoeverFlag()!=null&&mgtShopAuthDto.getBlBusinessFoeverFlag()==1){
+//            mgtShopAuthDto.setBlBusinessDeanline("长期");
+//        }
+//        if(mgtShopAuthDto.getLpIcForeverFlag()!=null&&mgtShopAuthDto.getLpIcForeverFlag()==1){
+//            mgtShopAuthDto.setLpIcEndDate("长期");
+//        }
+//        BeanUtils.copyProperties(mgtShopAuthDto , shopAuthentication);
+//        TOperator operator = operatorMapper.selectById(shopAuthentication.getOperatorId());
+//        String applyNumber = UUIDUtil.getNativeUUID().replace("-","");
+//        shopAuthentication.setOutBizNo(applyNumber);
+//        ApplymentsResult applymentsResult;
+//        try {
+//            applymentsResult = weChatUtil.ecommerceApply(shopAuthentication,applyNumber,operator);
+//        } catch (Exception e) {
+//            throw new ServiceException(e.getMessage());
+//        }
+//        shopAuthentication.setOrderStatus("AUDITING");
+//        shopAuthentication.setOrderNo(applymentsResult.getApplymentId());
+//        operatorAuthService.saveOrUpdate(shopAuthentication);
+//    }
 
-    @Override
-    public List<Map<String, Object>> listAll(Page<Map<String, Object>> page, String province, String city, String userName, String phone, Integer platform, Integer type, Integer state) {
-        return this.baseMapper.listAll(page,province,city,userName,phone,platform,type,state);
-    }
     @Override
     public void mgtShopAuth(MgtShopAuthDto mgtShopAuthDto) {
-        mgtShopAuthDto.setUserId(1);
-        mgtShopAuthDto.setAuthId("1");
-        mgtShopAuthDto.setShopId(1L);
-        mgtShopAuthDto.setShopName("商户名称");
-        mgtShopAuthDto.setShopownerName("店主姓名");
-        mgtShopAuthDto.setShopownerPhone("17628220929");
-        mgtShopAuthDto.setMainType(1);
-        mgtShopAuthDto.setBlShopName("营业执照商户名称");
-        mgtShopAuthDto.setBlNumber("营业执照编号");
-        mgtShopAuthDto.setBlCorporateName("营业执照法人姓名");
-        mgtShopAuthDto.setBlRegisteredAddress("营业执照注册地址");
-        mgtShopAuthDto.setBlBusinessStartTime("2022-02-11");
-        mgtShopAuthDto.setBlBusinessDeanline("2025-05-09");
-        mgtShopAuthDto.setBlBusinessFoeverFlag(0);
-        mgtShopAuthDto.setBlImage("营业执照图片");
-        mgtShopAuthDto.setLpCorporateName("法人姓名");
-        mgtShopAuthDto.setLpIdCard("513701199910156123");
-        mgtShopAuthDto.setLpIdAddress("法人身份证地址");
-        mgtShopAuthDto.setLpIcStartDate("2020-05-05");
-        mgtShopAuthDto.setLpIcEndDate("2025-05-05");
-        mgtShopAuthDto.setLpIcForeverFlag(0);
-        mgtShopAuthDto.setLpIcFront("法人身份证正面");
-        mgtShopAuthDto.setLpIcBack("法人身份证背面");
-        mgtShopAuthDto.setLpMobilePhone("17628220929");
-        mgtShopAuthDto.setLpContactEmail("法人邮箱");
-        mgtShopAuthDto.setSettlementAccountType("2");
-        mgtShopAuthDto.setSaBank("开户行");
-        mgtShopAuthDto.setSaAccountName("开户名称");
-        mgtShopAuthDto.setSaBankProvinceCode("开户所在省");
-        mgtShopAuthDto.setSaBankCityCode("开户所在市");
-        mgtShopAuthDto.setSaBankName("开户行全称");
-        mgtShopAuthDto.setSaNumber("银行卡号");
-        mgtShopAuthDto.setOwner(1);
-        mgtShopAuthDto.setUboName("ck");
-        mgtShopAuthDto.setUboIdCard("513701199910156123");
-        mgtShopAuthDto.setUboIcStartDate("2020-05-05");
-        mgtShopAuthDto.setUboIcEndDate("2025-05-05");
-        mgtShopAuthDto.setUboIcFront("受益人身份证正面");
-        mgtShopAuthDto.setUboIcBack("受益人身份证正面");
-        mgtShopAuthDto.setUboIcAddress("受益人居住地址");
-        OperatorAuth shopAuthentication = new OperatorAuth();
 
-        if(mgtShopAuthDto.getBlBusinessFoeverFlag()!=null&&mgtShopAuthDto.getBlBusinessFoeverFlag()==1){
-            mgtShopAuthDto.setBlBusinessDeanline("长期");
-        }
-        if(mgtShopAuthDto.getLpIcForeverFlag()!=null&&mgtShopAuthDto.getLpIcForeverFlag()==1){
-            mgtShopAuthDto.setLpIcEndDate("长期");
-        }
-        BeanUtils.copyProperties(mgtShopAuthDto , shopAuthentication);
-        TOperator operator = operatorMapper.selectById(shopAuthentication.getOperatorId());
-        String applyNumber = UUIDUtil.getNativeUUID().replace("-","");
-        shopAuthentication.setOutBizNo(applyNumber);
-        ApplymentsResult applymentsResult;
-        try {
-            applymentsResult = weChatUtil.ecommerceApply(shopAuthentication,applyNumber,operator);
-        } catch (Exception e) {
-            throw new ServiceException(e.getMessage());
-        }
-        shopAuthentication.setOrderStatus("AUDITING");
-        shopAuthentication.setOrderNo(applymentsResult.getApplymentId());
-        operatorAuthService.saveOrUpdate(shopAuthentication);
+    }
+
+    @Override
+    public List<OperatorUserVO> listAll(String province, String city, String userName, String phone, Integer platform, Integer type, Integer state) {
+        return this.baseMapper.listAll(province,city,userName,phone,platform,type,state);
     }
 }

--
Gitblit v1.7.1