This commit is contained in:
parent
46127a0272
commit
50f1997218
|
|
@ -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>
|
||||||
|
|
@ -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, "不存在的进件通道,或所选通道暂不支持进件");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue