mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-05 18:40:14 +08:00
update 分成功能
This commit is contained in:
@@ -0,0 +1,77 @@
|
||||
package com.jsowell.pile.domain;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.experimental.Accessors;
|
||||
import lombok.experimental.SuperBuilder;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 站点分成配置表
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@SuperBuilder
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class StationSplitConfig {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* 运营商id
|
||||
*/
|
||||
private String merchantId;
|
||||
|
||||
/**
|
||||
* 站点id
|
||||
*/
|
||||
private String stationId;
|
||||
|
||||
/**
|
||||
* 汇付会员id(参与分成的汇付id, 自己的或者别人的)
|
||||
*/
|
||||
private String adapayMemberId;
|
||||
|
||||
/**
|
||||
* 电费分成比例
|
||||
*/
|
||||
private BigDecimal electricitySplitRatio;
|
||||
|
||||
/**
|
||||
* 服务费分成比例
|
||||
*/
|
||||
private BigDecimal serviceSplitRatio;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
private String createBy;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 更新人
|
||||
*/
|
||||
private String updateBy;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateTime;
|
||||
|
||||
/**
|
||||
* 删除标识(0-正常;1- 删除)
|
||||
*/
|
||||
private String delFlag;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package com.jsowell.pile.mapper;
|
||||
|
||||
public interface StationSplitConfigMapper {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package com.jsowell.pile.service;
|
||||
|
||||
public interface StationSplitConfigService{
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package com.jsowell.pile.service.impl;
|
||||
|
||||
import com.jsowell.pile.mapper.StationSplitConfigMapper;
|
||||
import com.jsowell.pile.service.StationSplitConfigService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
@Service
|
||||
public class StationSplitConfigServiceImpl implements StationSplitConfigService{
|
||||
|
||||
@Resource
|
||||
private StationSplitConfigMapper stationSplitConfigMapper;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
<?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.jsowell.pile.mapper.StationSplitConfigMapper">
|
||||
<resultMap id="BaseResultMap" type="com.jsowell.pile.domain.StationSplitConfig">
|
||||
<!--@mbg.generated-->
|
||||
<!--@Table station_split_config-->
|
||||
<id column="id" jdbcType="INTEGER" property="id" />
|
||||
<result column="merchant_id" jdbcType="VARCHAR" property="merchantId" />
|
||||
<result column="station_id" jdbcType="VARCHAR" property="stationId" />
|
||||
<result column="adapay_member_id" jdbcType="VARCHAR" property="adapayMemberId" />
|
||||
<result column="electricity_split_ratio" jdbcType="DECIMAL" property="electricitySplitRatio" />
|
||||
<result column="service_split_ratio" jdbcType="DECIMAL" property="serviceSplitRatio" />
|
||||
<result column="create_by" jdbcType="VARCHAR" property="createBy" />
|
||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||
<result column="update_by" jdbcType="VARCHAR" property="updateBy" />
|
||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
<result column="del_flag" jdbcType="CHAR" property="delFlag" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
<!--@mbg.generated-->
|
||||
id, merchant_id, station_id, adapay_member_id, electricity_split_ratio, service_split_ratio,
|
||||
create_by, create_time, update_by, update_time, del_flag
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user