diff --git a/newadmin/merchant-service-api/pom.xml b/newadmin/merchant-service-api/pom.xml new file mode 100644 index 0000000..864640a --- /dev/null +++ b/newadmin/merchant-service-api/pom.xml @@ -0,0 +1,34 @@ + + + 4.0.0 + + com.chaozhanggui.system + admin-system + 1.0.0 + + + org.example + merchant-service-api + + + 8 + 8 + UTF-8 + + + + com.chaozhanggui.system + common-api + 1.0.0 + compile + + + com.chaozhanggui.system + dao-api + 1.0.0 + + + + \ No newline at end of file diff --git a/newadmin/merchant-service-api/src/main/java/com/chaozhanggui/merchant/service/MerchantService.java b/newadmin/merchant-service-api/src/main/java/com/chaozhanggui/merchant/service/MerchantService.java new file mode 100644 index 0000000..013d0bb --- /dev/null +++ b/newadmin/merchant-service-api/src/main/java/com/chaozhanggui/merchant/service/MerchantService.java @@ -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, "不存在的进件通道,或所选通道暂不支持进件"); + + + + } +}