Compare commits
4 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
2388dccc66 | 6 months ago |
|
|
4554c05240 | 6 months ago |
|
|
b852ea6559 | 6 months ago |
|
|
a6480d8bc8 | 6 months ago |
@ -0,0 +1,34 @@
|
|||||||
|
package cn.iocoder.hake.module.op.biz.merchant;
|
||||||
|
|
||||||
|
import cn.iocoder.hake.module.op.dao.idao.OpEnterPieceManagementDao;
|
||||||
|
import cn.iocoder.hake.module.op.entity.OpEnterPieceManagementEntity;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 进件管理 服务类
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Component
|
||||||
|
public class OpEnterPieceManagementBiz {
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private OpEnterPieceManagementDao opEnterPieceManagementDao;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取字符串
|
||||||
|
*
|
||||||
|
* @return String
|
||||||
|
*/
|
||||||
|
public List<OpEnterPieceManagementEntity> getString() {
|
||||||
|
return opEnterPieceManagementDao.list();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,16 @@
|
|||||||
|
package cn.iocoder.hake.module.op.biz.merchant;
|
||||||
|
|
||||||
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 法人身份证信息 服务类
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Component
|
||||||
|
public class OpLegalEntityIdCardInfoBiz {
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,17 @@
|
|||||||
|
package cn.iocoder.hake.module.op.biz.merchant;
|
||||||
|
|
||||||
|
|
||||||
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 商户信息 服务类
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Component
|
||||||
|
public class OpMerchantInfoBiz{
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,16 @@
|
|||||||
|
package cn.iocoder.hake.module.op.biz.merchant;
|
||||||
|
|
||||||
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 商户列表 服务类
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Component
|
||||||
|
public class OpMerchantListBiz {
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,17 @@
|
|||||||
|
package cn.iocoder.hake.module.op.biz.merchant;
|
||||||
|
|
||||||
|
|
||||||
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 结算账户 服务类
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Component
|
||||||
|
public class OpSettlementAccountBiz {
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,17 @@
|
|||||||
|
package cn.iocoder.hake.module.op.biz.merchant;
|
||||||
|
|
||||||
|
|
||||||
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 结算规则 服务类
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Component
|
||||||
|
public class OpSettlementRulesBiz{
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,17 @@
|
|||||||
|
package cn.iocoder.hake.module.op.biz.merchant;
|
||||||
|
|
||||||
|
|
||||||
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 门店管理 服务类
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Component
|
||||||
|
public class OpStoreManagementBiz {
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,36 @@
|
|||||||
|
package cn.iocoder.hake.module.op.controller.merchant;
|
||||||
|
|
||||||
|
import cn.iocoder.hake.framework.common.pojo.CommonResult;
|
||||||
|
import cn.iocoder.hake.module.op.biz.merchant.OpEnterPieceManagementBiz;
|
||||||
|
import cn.iocoder.hake.module.op.entity.OpEnterPieceManagementEntity;
|
||||||
|
import io.swagger.v3.oas.annotations.Operation;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 进件管理 前端控制器
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/op/merchant")
|
||||||
|
public class OpEnterPieceManagementController {
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private OpEnterPieceManagementBiz opEnterPieceManagementBiz;
|
||||||
|
|
||||||
|
@PostMapping("/test")
|
||||||
|
@Operation(summary = "测试ruoyi框架请求")
|
||||||
|
//@PreAuthorize("@ss.hasPermission('mp:account:create')")
|
||||||
|
public CommonResult<List<OpEnterPieceManagementEntity>> getString() {
|
||||||
|
return CommonResult.success(opEnterPieceManagementBiz.getString());
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,18 @@
|
|||||||
|
package cn.iocoder.hake.module.op.controller.merchant;
|
||||||
|
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 法人身份证信息 前端控制器
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/op/merchant")
|
||||||
|
public class OpLegalEntityIdCardInfoController {
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,18 @@
|
|||||||
|
package cn.iocoder.hake.module.op.controller.merchant;
|
||||||
|
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 商户信息 前端控制器
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/op/merchant")
|
||||||
|
public class OpMerchantInfoController {
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,18 @@
|
|||||||
|
package cn.iocoder.hake.module.op.controller.merchant;
|
||||||
|
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 商户列表 前端控制器
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/op/merchant")
|
||||||
|
public class OpMerchantListController {
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,18 @@
|
|||||||
|
package cn.iocoder.hake.module.op.controller.merchant;
|
||||||
|
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 结算账户 前端控制器
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/op/merchant")
|
||||||
|
public class OpSettlementAccountController {
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,18 @@
|
|||||||
|
package cn.iocoder.hake.module.op.controller.merchant;
|
||||||
|
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 结算规则 前端控制器
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/op/merchant")
|
||||||
|
public class OpSettlementRulesController {
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,18 @@
|
|||||||
|
package cn.iocoder.hake.module.op.controller.merchant;
|
||||||
|
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 门店管理 前端控制器
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/op/merchant")
|
||||||
|
public class OpStoreManagementController {
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,19 @@
|
|||||||
|
package cn.iocoder.hake.module.op.dao.idao;
|
||||||
|
|
||||||
|
import cn.iocoder.hake.module.op.dao.mapper.OpEnterPieceManagementMapper;
|
||||||
|
import cn.iocoder.hake.module.op.entity.OpEnterPieceManagementEntity;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 进件管理Dao
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Component
|
||||||
|
public class OpEnterPieceManagementDao extends ServiceImpl<OpEnterPieceManagementMapper, OpEnterPieceManagementEntity> {
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,19 @@
|
|||||||
|
package cn.iocoder.hake.module.op.dao.idao;
|
||||||
|
|
||||||
|
import cn.iocoder.hake.module.op.dao.mapper.OpLegalEntityIdCardInfoMapper;
|
||||||
|
import cn.iocoder.hake.module.op.entity.OpLegalEntityIdCardInfoEntity;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 法人身份证信息Dao
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Component
|
||||||
|
public class OpLegalEntityIdCardInfoDao extends ServiceImpl<OpLegalEntityIdCardInfoMapper, OpLegalEntityIdCardInfoEntity> {
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,19 @@
|
|||||||
|
package cn.iocoder.hake.module.op.dao.idao;
|
||||||
|
|
||||||
|
import cn.iocoder.hake.module.op.dao.mapper.OpMerchantInfoMapper;
|
||||||
|
import cn.iocoder.hake.module.op.entity.OpMerchantInfoEntity;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import org.mapstruct.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 商户信息Dao
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public class OpMerchantInfoDao extends ServiceImpl<OpMerchantInfoMapper, OpMerchantInfoEntity> {
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,19 @@
|
|||||||
|
package cn.iocoder.hake.module.op.dao.idao;
|
||||||
|
|
||||||
|
import cn.iocoder.hake.module.op.dao.mapper.OpMerchantListMapper;
|
||||||
|
import cn.iocoder.hake.module.op.entity.OpMerchantListEntity;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import org.mapstruct.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 商户列表Dao
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public class OpMerchantListDao extends ServiceImpl<OpMerchantListMapper, OpMerchantListEntity> {
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,19 @@
|
|||||||
|
package cn.iocoder.hake.module.op.dao.idao;
|
||||||
|
|
||||||
|
import cn.iocoder.hake.module.op.dao.mapper.OpSettlementAccountMapper;
|
||||||
|
import cn.iocoder.hake.module.op.entity.OpSettlementAccountEntity;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import org.mapstruct.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 结算账户Dao
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public class OpSettlementAccountDao extends ServiceImpl<OpSettlementAccountMapper, OpSettlementAccountEntity> {
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,19 @@
|
|||||||
|
package cn.iocoder.hake.module.op.dao.idao;
|
||||||
|
|
||||||
|
import cn.iocoder.hake.module.op.dao.mapper.OpSettlementRulesMapper;
|
||||||
|
import cn.iocoder.hake.module.op.entity.OpSettlementRulesEntity;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import org.mapstruct.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 结算规则 Dao
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public class OpSettlementRulesDao extends ServiceImpl<OpSettlementRulesMapper, OpSettlementRulesEntity> {
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,19 @@
|
|||||||
|
package cn.iocoder.hake.module.op.dao.idao;
|
||||||
|
|
||||||
|
import cn.iocoder.hake.module.op.dao.mapper.OpStoreManagementMapper;
|
||||||
|
import cn.iocoder.hake.module.op.entity.OpStoreManagementEntity;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import org.mapstruct.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 门店管理Dao
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public class OpStoreManagementDao extends ServiceImpl<OpStoreManagementMapper, OpStoreManagementEntity> {
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,18 @@
|
|||||||
|
package cn.iocoder.hake.module.op.dao.mapper;
|
||||||
|
|
||||||
|
import cn.iocoder.hake.module.op.entity.OpEnterPieceManagementEntity;
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 进件管理 Mapper 接口
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface OpEnterPieceManagementMapper extends BaseMapper<OpEnterPieceManagementEntity> {
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,18 @@
|
|||||||
|
package cn.iocoder.hake.module.op.dao.mapper;
|
||||||
|
|
||||||
|
import cn.iocoder.hake.module.op.entity.OpLegalEntityIdCardInfoEntity;
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 法人身份证信息 Mapper 接口
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface OpLegalEntityIdCardInfoMapper extends BaseMapper<OpLegalEntityIdCardInfoEntity> {
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,18 @@
|
|||||||
|
package cn.iocoder.hake.module.op.dao.mapper;
|
||||||
|
|
||||||
|
import cn.iocoder.hake.module.op.entity.OpMerchantInfoEntity;
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 商户信息 Mapper 接口
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface OpMerchantInfoMapper extends BaseMapper<OpMerchantInfoEntity> {
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,18 @@
|
|||||||
|
package cn.iocoder.hake.module.op.dao.mapper;
|
||||||
|
|
||||||
|
import cn.iocoder.hake.module.op.entity.OpMerchantListEntity;
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 商户列表 Mapper 接口
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface OpMerchantListMapper extends BaseMapper<OpMerchantListEntity> {
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,18 @@
|
|||||||
|
package cn.iocoder.hake.module.op.dao.mapper;
|
||||||
|
|
||||||
|
import cn.iocoder.hake.module.op.entity.OpSettlementAccountEntity;
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 结算账户 Mapper 接口
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface OpSettlementAccountMapper extends BaseMapper<OpSettlementAccountEntity> {
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,18 @@
|
|||||||
|
package cn.iocoder.hake.module.op.dao.mapper;
|
||||||
|
|
||||||
|
import cn.iocoder.hake.module.op.entity.OpSettlementRulesEntity;
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 结算规则 Mapper 接口
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface OpSettlementRulesMapper extends BaseMapper<OpSettlementRulesEntity> {
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,18 @@
|
|||||||
|
package cn.iocoder.hake.module.op.dao.mapper;
|
||||||
|
|
||||||
|
import cn.iocoder.hake.module.op.entity.OpStoreManagementEntity;
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 门店管理 Mapper 接口
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface OpStoreManagementMapper extends BaseMapper<OpStoreManagementEntity> {
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,100 @@
|
|||||||
|
package cn.iocoder.hake.module.op.domain.dto;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 法人身份证信息
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public class OpLegalEntityIdCardInfoDto implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 主键ID
|
||||||
|
*/
|
||||||
|
@TableId(value = "id", type = IdType.AUTO)
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 进件ID
|
||||||
|
*/
|
||||||
|
private String enterPieceId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 法人身份证人像面照片
|
||||||
|
*/
|
||||||
|
private String cardFrontPhoto;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 法人身份证国徽面照片
|
||||||
|
*/
|
||||||
|
private String cardReversePhoto;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 法人身份证姓名
|
||||||
|
*/
|
||||||
|
private String cardName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 法人身份证号
|
||||||
|
*/
|
||||||
|
private String cardNumber;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 法人身份证起始有效时间
|
||||||
|
*/
|
||||||
|
private String startDate;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 法人身份证结束有效时间
|
||||||
|
*/
|
||||||
|
private String endDate;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 预留字段1
|
||||||
|
*/
|
||||||
|
private String reservedField1;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 预留字段2
|
||||||
|
*/
|
||||||
|
private String reservedField2;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人
|
||||||
|
*/
|
||||||
|
private String createdUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime createdTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新人
|
||||||
|
*/
|
||||||
|
private String updatedUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime updatedTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 逻辑删除标识 (0:未删除, 1:已删除)
|
||||||
|
*/
|
||||||
|
private Boolean isDeleted;
|
||||||
|
}
|
||||||
@ -0,0 +1,101 @@
|
|||||||
|
package cn.iocoder.hake.module.op.domain.dto;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.time.LocalDate;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 商户信息
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public class OpMerchantInfoDto implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 主键ID
|
||||||
|
*/
|
||||||
|
@TableId(value = "id", type = IdType.AUTO)
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 进件ID
|
||||||
|
*/
|
||||||
|
private String enterPieceId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 营业执照照片
|
||||||
|
*/
|
||||||
|
private String licensePhoto;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 营业执照编号
|
||||||
|
*/
|
||||||
|
private String licenseNumber;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 商户名称全称
|
||||||
|
*/
|
||||||
|
private String merchantFullName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 营业执照注册地址
|
||||||
|
*/
|
||||||
|
private String registeredAddress;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 营业执照有效期开始时间
|
||||||
|
*/
|
||||||
|
private LocalDate issueDate;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 营业执照有效期截止时间
|
||||||
|
*/
|
||||||
|
private LocalDate expiryDate;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 预留字段1
|
||||||
|
*/
|
||||||
|
private String reservedField1;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 预留字段2
|
||||||
|
*/
|
||||||
|
private String reservedField2;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人
|
||||||
|
*/
|
||||||
|
private String createdUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime createdTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新人
|
||||||
|
*/
|
||||||
|
private String updatedUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime updatedTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 逻辑删除标识 (0:未删除, 1:已删除)
|
||||||
|
*/
|
||||||
|
private Boolean isDeleted;
|
||||||
|
}
|
||||||
@ -0,0 +1,95 @@
|
|||||||
|
package cn.iocoder.hake.module.op.domain.dto;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 结算账户
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public class OpSettlementAccountDto implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 主键ID
|
||||||
|
*/
|
||||||
|
@TableId(value = "id", type = IdType.AUTO)
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 进件ID
|
||||||
|
*/
|
||||||
|
private String enterPieceId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 账户类型(0:对私, 1:对公)
|
||||||
|
*/
|
||||||
|
private Boolean accountType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 开户名称
|
||||||
|
*/
|
||||||
|
private String openAccountName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 银行账号
|
||||||
|
*/
|
||||||
|
private String bankAccount;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 开户行
|
||||||
|
*/
|
||||||
|
private String openAccountBank;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 开户行地址
|
||||||
|
*/
|
||||||
|
private String bankAddress;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 预留字段1
|
||||||
|
*/
|
||||||
|
private String reservedField1;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 预留字段2
|
||||||
|
*/
|
||||||
|
private String reservedField2;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人
|
||||||
|
*/
|
||||||
|
private String createdUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime createdTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新人
|
||||||
|
*/
|
||||||
|
private String updatedUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime updatedTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 逻辑删除标识 (0:未删除, 1:已删除)
|
||||||
|
*/
|
||||||
|
private Boolean isDeleted;
|
||||||
|
}
|
||||||
@ -0,0 +1,135 @@
|
|||||||
|
package cn.iocoder.hake.module.op.domain.dto;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 门店管理
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public class OpStoreManagementDto implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 主键ID
|
||||||
|
*/
|
||||||
|
@TableId(value = "id", type = IdType.AUTO)
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 商户编号
|
||||||
|
*/
|
||||||
|
private String merchantNumber;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 门店编号
|
||||||
|
*/
|
||||||
|
private String storeNumber;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 门店名称
|
||||||
|
*/
|
||||||
|
private String storeName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 联系人电话
|
||||||
|
*/
|
||||||
|
private Byte contactPhone;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 门店LOGO
|
||||||
|
*/
|
||||||
|
private String logoPhoto;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 门店内景照片
|
||||||
|
*/
|
||||||
|
private String indoorScenePhoto;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 门头照片
|
||||||
|
*/
|
||||||
|
private String doorSignPhoto;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 省份
|
||||||
|
*/
|
||||||
|
private String province;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 城市
|
||||||
|
*/
|
||||||
|
private String city;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 城区
|
||||||
|
*/
|
||||||
|
private String urbanArea;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 具体位置
|
||||||
|
*/
|
||||||
|
private String specificLocation;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 经纬度
|
||||||
|
*/
|
||||||
|
private String latitudeLongitude;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
private String notes;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 预留字段1
|
||||||
|
*/
|
||||||
|
private String reservedField1;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 预留字段2
|
||||||
|
*/
|
||||||
|
private String reservedField2;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 预留字段3
|
||||||
|
*/
|
||||||
|
private String reservedField3;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人
|
||||||
|
*/
|
||||||
|
private String createdUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime createdTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新人
|
||||||
|
*/
|
||||||
|
private String updatedUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime updatedTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 逻辑删除标识 (0:未删除, 1:已删除)
|
||||||
|
*/
|
||||||
|
private Boolean isDeleted;
|
||||||
|
}
|
||||||
@ -0,0 +1,16 @@
|
|||||||
|
package cn.iocoder.hake.module.op.domain.mapstruct;
|
||||||
|
|
||||||
|
import cn.iocoder.hake.module.op.domain.EntityMapper;
|
||||||
|
import cn.iocoder.hake.module.op.domain.dto.OpEnterPieceManagementDto;
|
||||||
|
import cn.iocoder.hake.module.op.entity.OpEnterPieceManagementEntity;
|
||||||
|
import org.mapstruct.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 进件管理 MapStruct dto 与 entity 转换
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Mapper(componentModel = "spring", uses = {})
|
||||||
|
public interface OpEnterPieceManagementMapStruct extends EntityMapper<OpEnterPieceManagementDto, OpEnterPieceManagementEntity> {
|
||||||
|
}
|
||||||
@ -0,0 +1,24 @@
|
|||||||
|
package cn.iocoder.hake.module.op.domain.mapstruct;
|
||||||
|
|
||||||
|
import cn.iocoder.hake.module.op.domain.EntityMapper;
|
||||||
|
import cn.iocoder.hake.module.op.domain.dto.OpEnterPieceManagementDto;
|
||||||
|
import cn.iocoder.hake.module.op.entity.OpEnterPieceManagementEntity;
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
import org.mapstruct.Mapper;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 法人身份证信息 MapStruct dto 与 entity 转换
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Mapper(componentModel = "spring", uses = {})
|
||||||
|
public interface OpLegalEntityIdCardInfoMapStruct extends EntityMapper<OpEnterPieceManagementDto, OpEnterPieceManagementEntity> {
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,17 @@
|
|||||||
|
package cn.iocoder.hake.module.op.domain.mapstruct;
|
||||||
|
|
||||||
|
import cn.iocoder.hake.module.op.domain.EntityMapper;
|
||||||
|
import cn.iocoder.hake.module.op.domain.dto.OpMerchantInfoDto;
|
||||||
|
import cn.iocoder.hake.module.op.entity.OpMerchantInfoEntity;
|
||||||
|
import org.mapstruct.Mapper;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 商户信息 MapStruct dto 与 entity 转换
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Mapper(componentModel = "spring", uses = {})
|
||||||
|
public interface OpMerchantInfoMapStruct extends EntityMapper<OpMerchantInfoDto, OpMerchantInfoEntity> {
|
||||||
|
}
|
||||||
@ -0,0 +1,17 @@
|
|||||||
|
package cn.iocoder.hake.module.op.domain.mapstruct;
|
||||||
|
|
||||||
|
import cn.iocoder.hake.module.op.domain.EntityMapper;
|
||||||
|
import cn.iocoder.hake.module.op.domain.dto.OpMerchantListDto;
|
||||||
|
import cn.iocoder.hake.module.op.entity.OpMerchantListEntity;
|
||||||
|
import org.mapstruct.Mapper;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 商户列表 MapStruct dto 与 entity 转换
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Mapper(componentModel = "spring", uses = {})
|
||||||
|
public interface OpMerchantListMapStruct extends EntityMapper<OpMerchantListDto, OpMerchantListEntity> {
|
||||||
|
}
|
||||||
@ -0,0 +1,17 @@
|
|||||||
|
package cn.iocoder.hake.module.op.domain.mapstruct;
|
||||||
|
|
||||||
|
import cn.iocoder.hake.module.op.domain.EntityMapper;
|
||||||
|
import cn.iocoder.hake.module.op.domain.dto.OpSettlementAccountDto;
|
||||||
|
import cn.iocoder.hake.module.op.entity.OpSettlementAccountEntity;
|
||||||
|
import org.mapstruct.Mapper;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 结算账户 MapStruct dto 与 entity 转换
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Mapper(componentModel = "spring", uses = {})
|
||||||
|
public interface OpSettlementAccountMapStruct extends EntityMapper<OpSettlementAccountDto, OpSettlementAccountEntity> {
|
||||||
|
}
|
||||||
@ -0,0 +1,18 @@
|
|||||||
|
package cn.iocoder.hake.module.op.domain.mapstruct;
|
||||||
|
|
||||||
|
|
||||||
|
import cn.iocoder.hake.module.op.domain.EntityMapper;
|
||||||
|
import cn.iocoder.hake.module.op.domain.dto.OpSettlementRulesDto;
|
||||||
|
import cn.iocoder.hake.module.op.entity.OpSettlementRulesEntity;
|
||||||
|
import org.mapstruct.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 结算规则 MapStruct dto 与 entity 转换
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Mapper(componentModel = "spring", uses = {})
|
||||||
|
public interface OpSettlementRulesMapStruct extends EntityMapper<OpSettlementRulesDto, OpSettlementRulesEntity> {
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,18 @@
|
|||||||
|
package cn.iocoder.hake.module.op.domain.mapstruct;
|
||||||
|
|
||||||
|
import cn.iocoder.hake.module.op.domain.EntityMapper;
|
||||||
|
import cn.iocoder.hake.module.op.domain.dto.OpStoreManagementDto;
|
||||||
|
import cn.iocoder.hake.module.op.entity.OpStoreManagementEntity;
|
||||||
|
import org.mapstruct.Mapper;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 门店管理 MapStruct dto 与 entity 转换
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Mapper(componentModel = "spring", uses = {})
|
||||||
|
public interface OpStoreManagementMapStruct extends EntityMapper<OpStoreManagementDto, OpStoreManagementEntity> {
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,100 @@
|
|||||||
|
package cn.iocoder.hake.module.op.domain.vo;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 法人身份证信息
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public class OpLegalEntityIdCardInfoVo implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 主键ID
|
||||||
|
*/
|
||||||
|
@TableId(value = "id", type = IdType.AUTO)
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 进件ID
|
||||||
|
*/
|
||||||
|
private String enterPieceId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 法人身份证人像面照片
|
||||||
|
*/
|
||||||
|
private String cardFrontPhoto;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 法人身份证国徽面照片
|
||||||
|
*/
|
||||||
|
private String cardReversePhoto;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 法人身份证姓名
|
||||||
|
*/
|
||||||
|
private String cardName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 法人身份证号
|
||||||
|
*/
|
||||||
|
private String cardNumber;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 法人身份证起始有效时间
|
||||||
|
*/
|
||||||
|
private String startDate;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 法人身份证结束有效时间
|
||||||
|
*/
|
||||||
|
private String endDate;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 预留字段1
|
||||||
|
*/
|
||||||
|
private String reservedField1;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 预留字段2
|
||||||
|
*/
|
||||||
|
private String reservedField2;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人
|
||||||
|
*/
|
||||||
|
private String createdUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime createdTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新人
|
||||||
|
*/
|
||||||
|
private String updatedUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime updatedTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 逻辑删除标识 (0:未删除, 1:已删除)
|
||||||
|
*/
|
||||||
|
private Boolean isDeleted;
|
||||||
|
}
|
||||||
@ -0,0 +1,101 @@
|
|||||||
|
package cn.iocoder.hake.module.op.domain.vo;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.time.LocalDate;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 商户信息
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public class OpMerchantInfoVo implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 主键ID
|
||||||
|
*/
|
||||||
|
@TableId(value = "id", type = IdType.AUTO)
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 进件ID
|
||||||
|
*/
|
||||||
|
private String enterPieceId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 营业执照照片
|
||||||
|
*/
|
||||||
|
private String licensePhoto;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 营业执照编号
|
||||||
|
*/
|
||||||
|
private String licenseNumber;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 商户名称全称
|
||||||
|
*/
|
||||||
|
private String merchantFullName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 营业执照注册地址
|
||||||
|
*/
|
||||||
|
private String registeredAddress;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 营业执照有效期开始时间
|
||||||
|
*/
|
||||||
|
private LocalDate issueDate;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 营业执照有效期截止时间
|
||||||
|
*/
|
||||||
|
private LocalDate expiryDate;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 预留字段1
|
||||||
|
*/
|
||||||
|
private String reservedField1;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 预留字段2
|
||||||
|
*/
|
||||||
|
private String reservedField2;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人
|
||||||
|
*/
|
||||||
|
private String createdUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime createdTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新人
|
||||||
|
*/
|
||||||
|
private String updatedUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime updatedTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 逻辑删除标识 (0:未删除, 1:已删除)
|
||||||
|
*/
|
||||||
|
private Boolean isDeleted;
|
||||||
|
}
|
||||||
@ -0,0 +1,95 @@
|
|||||||
|
package cn.iocoder.hake.module.op.domain.vo;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 结算账户
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public class OpSettlementAccountVo implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 主键ID
|
||||||
|
*/
|
||||||
|
@TableId(value = "id", type = IdType.AUTO)
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 进件ID
|
||||||
|
*/
|
||||||
|
private String enterPieceId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 账户类型(0:对私, 1:对公)
|
||||||
|
*/
|
||||||
|
private Boolean accountType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 开户名称
|
||||||
|
*/
|
||||||
|
private String openAccountName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 银行账号
|
||||||
|
*/
|
||||||
|
private String bankAccount;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 开户行
|
||||||
|
*/
|
||||||
|
private String openAccountBank;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 开户行地址
|
||||||
|
*/
|
||||||
|
private String bankAddress;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 预留字段1
|
||||||
|
*/
|
||||||
|
private String reservedField1;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 预留字段2
|
||||||
|
*/
|
||||||
|
private String reservedField2;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人
|
||||||
|
*/
|
||||||
|
private String createdUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime createdTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新人
|
||||||
|
*/
|
||||||
|
private String updatedUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime updatedTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 逻辑删除标识 (0:未删除, 1:已删除)
|
||||||
|
*/
|
||||||
|
private Boolean isDeleted;
|
||||||
|
}
|
||||||
@ -0,0 +1,135 @@
|
|||||||
|
package cn.iocoder.hake.module.op.domain.vo;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 门店管理
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public class OpStoreManagementVo implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 主键ID
|
||||||
|
*/
|
||||||
|
@TableId(value = "id", type = IdType.AUTO)
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 商户编号
|
||||||
|
*/
|
||||||
|
private String merchantNumber;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 门店编号
|
||||||
|
*/
|
||||||
|
private String storeNumber;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 门店名称
|
||||||
|
*/
|
||||||
|
private String storeName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 联系人电话
|
||||||
|
*/
|
||||||
|
private Byte contactPhone;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 门店LOGO
|
||||||
|
*/
|
||||||
|
private String logoPhoto;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 门店内景照片
|
||||||
|
*/
|
||||||
|
private String indoorScenePhoto;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 门头照片
|
||||||
|
*/
|
||||||
|
private String doorSignPhoto;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 省份
|
||||||
|
*/
|
||||||
|
private String province;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 城市
|
||||||
|
*/
|
||||||
|
private String city;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 城区
|
||||||
|
*/
|
||||||
|
private String urbanArea;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 具体位置
|
||||||
|
*/
|
||||||
|
private String specificLocation;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 经纬度
|
||||||
|
*/
|
||||||
|
private String latitudeLongitude;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
private String notes;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 预留字段1
|
||||||
|
*/
|
||||||
|
private String reservedField1;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 预留字段2
|
||||||
|
*/
|
||||||
|
private String reservedField2;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 预留字段3
|
||||||
|
*/
|
||||||
|
private String reservedField3;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人
|
||||||
|
*/
|
||||||
|
private String createdUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime createdTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新人
|
||||||
|
*/
|
||||||
|
private String updatedUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime updatedTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 逻辑删除标识 (0:未删除, 1:已删除)
|
||||||
|
*/
|
||||||
|
private Boolean isDeleted;
|
||||||
|
}
|
||||||
@ -0,0 +1,108 @@
|
|||||||
|
package cn.iocoder.hake.module.op.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import lombok.Getter;
|
||||||
|
import lombok.Setter;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 法人身份证信息
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Getter
|
||||||
|
@Setter
|
||||||
|
@TableName("op_legal_entity_id_card_info")
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public class OpLegalEntityIdCardInfoEntity implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 主键ID
|
||||||
|
*/
|
||||||
|
@TableId(value = "id", type = IdType.AUTO)
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 进件ID
|
||||||
|
*/
|
||||||
|
private String enterPieceId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 法人身份证人像面照片
|
||||||
|
*/
|
||||||
|
private String cardFrontPhoto;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 法人身份证国徽面照片
|
||||||
|
*/
|
||||||
|
private String cardReversePhoto;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 法人身份证姓名
|
||||||
|
*/
|
||||||
|
private String cardName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 法人身份证号
|
||||||
|
*/
|
||||||
|
private String cardNumber;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 法人身份证起始有效时间
|
||||||
|
*/
|
||||||
|
private String startDate;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 法人身份证结束有效时间
|
||||||
|
*/
|
||||||
|
private String endDate;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 预留字段1
|
||||||
|
*/
|
||||||
|
private String reservedField1;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 预留字段2
|
||||||
|
*/
|
||||||
|
private String reservedField2;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人
|
||||||
|
*/
|
||||||
|
private String createdUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime createdTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新人
|
||||||
|
*/
|
||||||
|
private String updatedUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime updatedTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 逻辑删除标识 (0:未删除, 1:已删除)
|
||||||
|
*/
|
||||||
|
private Boolean isDeleted;
|
||||||
|
/**
|
||||||
|
* 租户编号
|
||||||
|
*/
|
||||||
|
private Integer tenantId;
|
||||||
|
}
|
||||||
@ -0,0 +1,109 @@
|
|||||||
|
package cn.iocoder.hake.module.op.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import lombok.Getter;
|
||||||
|
import lombok.Setter;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.time.LocalDate;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 商户信息
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Getter
|
||||||
|
@Setter
|
||||||
|
@TableName("op_merchant_info")
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public class OpMerchantInfoEntity implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 主键ID
|
||||||
|
*/
|
||||||
|
@TableId(value = "id", type = IdType.AUTO)
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 进件ID
|
||||||
|
*/
|
||||||
|
private String enterPieceId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 营业执照照片
|
||||||
|
*/
|
||||||
|
private String licensePhoto;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 营业执照编号
|
||||||
|
*/
|
||||||
|
private String licenseNumber;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 商户名称全称
|
||||||
|
*/
|
||||||
|
private String merchantFullName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 营业执照注册地址
|
||||||
|
*/
|
||||||
|
private String registeredAddress;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 营业执照有效期开始时间
|
||||||
|
*/
|
||||||
|
private LocalDate issueDate;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 营业执照有效期截止时间
|
||||||
|
*/
|
||||||
|
private LocalDate expiryDate;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 预留字段1
|
||||||
|
*/
|
||||||
|
private String reservedField1;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 预留字段2
|
||||||
|
*/
|
||||||
|
private String reservedField2;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人
|
||||||
|
*/
|
||||||
|
private String createdUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime createdTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新人
|
||||||
|
*/
|
||||||
|
private String updatedUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime updatedTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 逻辑删除标识 (0:未删除, 1:已删除)
|
||||||
|
*/
|
||||||
|
private Boolean isDeleted;
|
||||||
|
/**
|
||||||
|
* 租户编号
|
||||||
|
*/
|
||||||
|
private Integer tenantId;
|
||||||
|
}
|
||||||
@ -0,0 +1,103 @@
|
|||||||
|
package cn.iocoder.hake.module.op.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import lombok.Getter;
|
||||||
|
import lombok.Setter;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 结算账户
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Getter
|
||||||
|
@Setter
|
||||||
|
@TableName("op_settlement_account")
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public class OpSettlementAccountEntity implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 主键ID
|
||||||
|
*/
|
||||||
|
@TableId(value = "id", type = IdType.AUTO)
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 进件ID
|
||||||
|
*/
|
||||||
|
private String enterPieceId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 账户类型(0:对私, 1:对公)
|
||||||
|
*/
|
||||||
|
private Boolean accountType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 开户名称
|
||||||
|
*/
|
||||||
|
private String openAccountName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 银行账号
|
||||||
|
*/
|
||||||
|
private String bankAccount;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 开户行
|
||||||
|
*/
|
||||||
|
private String openAccountBank;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 开户行地址
|
||||||
|
*/
|
||||||
|
private String bankAddress;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 预留字段1
|
||||||
|
*/
|
||||||
|
private String reservedField1;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 预留字段2
|
||||||
|
*/
|
||||||
|
private String reservedField2;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人
|
||||||
|
*/
|
||||||
|
private String createdUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime createdTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新人
|
||||||
|
*/
|
||||||
|
private String updatedUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime updatedTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 逻辑删除标识 (0:未删除, 1:已删除)
|
||||||
|
*/
|
||||||
|
private Boolean isDeleted;
|
||||||
|
/**
|
||||||
|
* 租户编号
|
||||||
|
*/
|
||||||
|
private Integer tenantId;
|
||||||
|
}
|
||||||
@ -0,0 +1,143 @@
|
|||||||
|
package cn.iocoder.hake.module.op.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import lombok.Getter;
|
||||||
|
import lombok.Setter;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 门店管理
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
@Getter
|
||||||
|
@Setter
|
||||||
|
@TableName("op_store_management")
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public class OpStoreManagementEntity implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 主键ID
|
||||||
|
*/
|
||||||
|
@TableId(value = "id", type = IdType.AUTO)
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 商户编号
|
||||||
|
*/
|
||||||
|
private String merchantNumber;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 门店编号
|
||||||
|
*/
|
||||||
|
private String storeNumber;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 门店名称
|
||||||
|
*/
|
||||||
|
private String storeName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 联系人电话
|
||||||
|
*/
|
||||||
|
private Byte contactPhone;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 门店LOGO
|
||||||
|
*/
|
||||||
|
private String logoPhoto;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 门店内景照片
|
||||||
|
*/
|
||||||
|
private String indoorScenePhoto;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 门头照片
|
||||||
|
*/
|
||||||
|
private String doorSignPhoto;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 省份
|
||||||
|
*/
|
||||||
|
private String province;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 城市
|
||||||
|
*/
|
||||||
|
private String city;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 城区
|
||||||
|
*/
|
||||||
|
private String urbanArea;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 具体位置
|
||||||
|
*/
|
||||||
|
private String specificLocation;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 经纬度
|
||||||
|
*/
|
||||||
|
private String latitudeLongitude;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
private String notes;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 预留字段1
|
||||||
|
*/
|
||||||
|
private String reservedField1;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 预留字段2
|
||||||
|
*/
|
||||||
|
private String reservedField2;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 预留字段3
|
||||||
|
*/
|
||||||
|
private String reservedField3;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人
|
||||||
|
*/
|
||||||
|
private String createdUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime createdTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新人
|
||||||
|
*/
|
||||||
|
private String updatedUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime updatedTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 逻辑删除标识 (0:未删除, 1:已删除)
|
||||||
|
*/
|
||||||
|
private Boolean isDeleted;
|
||||||
|
/**
|
||||||
|
* 租户编号
|
||||||
|
*/
|
||||||
|
private Integer tenantId;
|
||||||
|
}
|
||||||
@ -1,4 +1,4 @@
|
|||||||
package cn.iocoder.hake.module.op.framework.rpc.config;
|
package cn.iocoder.hake.module.op.framework.config.rpc;
|
||||||
|
|
||||||
import cn.iocoder.hake.module.infra.api.file.FileApi;
|
import cn.iocoder.hake.module.infra.api.file.FileApi;
|
||||||
import org.springframework.cloud.openfeign.EnableFeignClients;
|
import org.springframework.cloud.openfeign.EnableFeignClients;
|
||||||
@ -1,4 +1,4 @@
|
|||||||
package cn.iocoder.hake.module.op.framework.security.config;
|
package cn.iocoder.hake.module.op.framework.config.security;
|
||||||
|
|
||||||
import cn.iocoder.hake.framework.security.config.AuthorizeRequestsCustomizer;
|
import cn.iocoder.hake.framework.security.config.AuthorizeRequestsCustomizer;
|
||||||
import cn.iocoder.hake.module.system.enums.ApiConstants;
|
import cn.iocoder.hake.module.system.enums.ApiConstants;
|
||||||
@ -0,0 +1,64 @@
|
|||||||
|
package cn.iocoder.hake.module.op.utils;
|
||||||
|
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.generator.FastAutoGenerator;
|
||||||
|
import com.baomidou.mybatisplus.generator.config.OutputFile;
|
||||||
|
import com.baomidou.mybatisplus.generator.config.rules.DbColumnType;
|
||||||
|
import com.baomidou.mybatisplus.generator.config.rules.NamingStrategy;
|
||||||
|
import com.baomidou.mybatisplus.generator.engine.FreemarkerTemplateEngine;
|
||||||
|
|
||||||
|
import java.sql.Types;
|
||||||
|
import java.util.Collections;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author chenjr
|
||||||
|
* @since 2025-07-31
|
||||||
|
*/
|
||||||
|
public class MyBatisPlusAuto {
|
||||||
|
|
||||||
|
public static void main(String[] args) {
|
||||||
|
FastAutoGenerator.create("jdbc:mysql://127.0.0.1:3306/hake", "", "")
|
||||||
|
.globalConfig(builder -> {
|
||||||
|
builder.author("chenjr") // 设置作者
|
||||||
|
.outputDir(System.getProperty("user.dir") + "/src/main/java/"); // 输出路径
|
||||||
|
})
|
||||||
|
.dataSourceConfig(builder -> {
|
||||||
|
builder.typeConvertHandler((globalConfig, typeRegistry, metaInfo) -> {
|
||||||
|
int typeCode = metaInfo.getJdbcType().TYPE_CODE;
|
||||||
|
if (typeCode == Types.SMALLINT) {
|
||||||
|
return DbColumnType.INTEGER;
|
||||||
|
}
|
||||||
|
return typeRegistry.getColumnType(metaInfo);
|
||||||
|
});
|
||||||
|
})
|
||||||
|
.packageConfig(builder -> {
|
||||||
|
builder.parent("cn.iocoder.hake")
|
||||||
|
.pathInfo(Collections.singletonMap(OutputFile.xml, System.getProperty("user.dir") + "/src/main/resources/mapper"));
|
||||||
|
})
|
||||||
|
.strategyConfig(builder -> {
|
||||||
|
builder.entityBuilder()
|
||||||
|
.naming(NamingStrategy.underline_to_camel)
|
||||||
|
.columnNaming(NamingStrategy.underline_to_camel)
|
||||||
|
.enableLombok()
|
||||||
|
.logicDeleteColumnName("deleted");
|
||||||
|
|
||||||
|
builder.mapperBuilder()
|
||||||
|
.enableFileOverride() // 覆盖已有文件(慎用)
|
||||||
|
.enableBaseResultMap()
|
||||||
|
.enableBaseColumnList();
|
||||||
|
|
||||||
|
builder.serviceBuilder()
|
||||||
|
.formatServiceFileName("%sService")
|
||||||
|
.formatServiceImplFileName("%sServiceImpl");
|
||||||
|
|
||||||
|
builder.controllerBuilder()
|
||||||
|
.enableFileOverride();
|
||||||
|
|
||||||
|
// 设置需要生成的表名
|
||||||
|
builder.addInclude("");
|
||||||
|
})
|
||||||
|
// 使用 Freemarker 模板引擎(默认,可省略)
|
||||||
|
.templateEngine(new FreemarkerTemplateEngine())
|
||||||
|
.execute();
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="cn.iocoder.hake.module.op.dao.mapper.OpEnterPieceManagementMapper">
|
||||||
|
|
||||||
|
</mapper>
|
||||||
@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="cn.iocoder.hake.module.op.dao.mapper.OpLegalEntityIdCardInfoMapper">
|
||||||
|
|
||||||
|
</mapper>
|
||||||
@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="cn.iocoder.hake.module.op.dao.mapper.OpMerchantInfoMapper">
|
||||||
|
</mapper>
|
||||||
@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="cn.iocoder.hake.module.op.dao.mapper.OpMerchantListMapper">
|
||||||
|
|
||||||
|
</mapper>
|
||||||
@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="cn.iocoder.hake.module.op.dao.mapper.OpSettlementAccountMapper">
|
||||||
|
|
||||||
|
</mapper>
|
||||||
@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="cn.iocoder.hake.module.op.dao.mapper.OpSettlementRulesMapper">
|
||||||
|
</mapper>
|
||||||
@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="cn.iocoder.hake.module.op.dao.mapper.OpStoreManagementMapper">
|
||||||
|
</mapper>
|
||||||
Loading…
Reference in New Issue