This commit is contained in:
韩鹏辉 2023-08-03 09:44:54 +08:00
parent 46127a0272
commit 50f1997218
2 changed files with 60 additions and 0 deletions

View File

@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.chaozhanggui.system</groupId>
<artifactId>admin-system</artifactId>
<version>1.0.0</version>
</parent>
<groupId>org.example</groupId>
<artifactId>merchant-service-api</artifactId>
<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>com.chaozhanggui.system</groupId>
<artifactId>common-api</artifactId>
<version>1.0.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.chaozhanggui.system</groupId>
<artifactId>dao-api</artifactId>
<version>1.0.0</version>
</dependency>
</dependencies>
</project>

View File

@ -0,0 +1,26 @@
package com.chaozhanggui.merchant.service;
import com.alibaba.fastjson.JSONObject;
import com.chaozhanggui.common.system.config.MsgException;
import com.chaozhanggui.dao.system.dao.TbPlussMerchantChannelMapper;
import com.chaozhanggui.dao.system.entity.TbPlussMerchantChannel;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class MerchantService {
@Autowired
private TbPlussMerchantChannelMapper tbPlussMerchantChannelMapper;
public void merchantAudit(JSONObject jsonObject, String channelId){
MsgException.checkBlank(channelId, "请选择进件通道");
//获取进件通道
TbPlussMerchantChannel channel= tbPlussMerchantChannelMapper.selectByPrimaryKey(Integer.valueOf(channelId));
MsgException.checkNull(channel, "不存在的进件通道,或所选通道暂不支持进件");
}
}