多级分销service/dao层
This commit is contained in:
parent
183f18df9e
commit
897778793c
|
|
@ -0,0 +1,11 @@
|
|||
package com.ghy.customer.mapper;
|
||||
|
||||
/**
|
||||
* @author clunt
|
||||
* 多级分销接口类
|
||||
*/
|
||||
public interface CustomerPlaceMapper {
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
package com.ghy.customer.service;
|
||||
|
||||
/**
|
||||
* @author clunt
|
||||
* 多级分销
|
||||
*/
|
||||
public interface CustomerPlaceService {
|
||||
|
||||
// 新增分销用户
|
||||
|
||||
// 获取用户分销关系
|
||||
|
||||
// 设置分销比例
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
package com.ghy.customer.service.impl;
|
||||
|
||||
import com.ghy.customer.service.CustomerPlaceService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @author clunt
|
||||
* 多级分销实现类
|
||||
*/
|
||||
@Service
|
||||
public class CustomerPlaceServiceImpl implements CustomerPlaceService {
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
<?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="com.ghy.customer.mapper.CustomerPlaceMapper">
|
||||
|
||||
<resultMap id="GoodsImgsResult" type="com.ghy.customer.domain.CustomerPlace">
|
||||
<result property="customerPlaceId" column="customer_place_id"/>
|
||||
<result property="customerId" column="customer_id" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="remark" column="remark" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectCustomerPlace">
|
||||
|
||||
</sql>
|
||||
|
||||
|
||||
</mapper>
|
||||
Loading…
Reference in New Issue