更新9.25
This commit is contained in:
parent
23663fabc2
commit
58cb379326
@ -0,0 +1,20 @@
|
||||
package com.fuint.business.fleet.controller;
|
||||
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 车队额度变化表 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author dianliang
|
||||
* @since 2024-09-25
|
||||
*/
|
||||
@Controller
|
||||
@RequestMapping("/fleet-lines-change")
|
||||
public class FleetLinesChangeController {
|
||||
|
||||
}
|
@ -0,0 +1,70 @@
|
||||
package com.fuint.business.fleet.entity;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import java.time.LocalDateTime;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import java.io.Serializable;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 车队额度变化表
|
||||
* </p>
|
||||
*
|
||||
* @author dianliang
|
||||
* @since 2024-09-25
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@TableName("fleet_lines_change")
|
||||
@ApiModel(value="FleetLinesChange对象", description="车队额度变化表")
|
||||
public class FleetLinesChange implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "主键")
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty(value = "车队id")
|
||||
private Integer fleetId;
|
||||
|
||||
@ApiModelProperty(value = "店铺id")
|
||||
private Integer storeId;
|
||||
|
||||
@ApiModelProperty(value = "调整类型:0增加、1扣除")
|
||||
private String adjustType;
|
||||
|
||||
@ApiModelProperty(value = "调整额度")
|
||||
private BigDecimal adjustLimit;
|
||||
|
||||
@ApiModelProperty(value = "创建人")
|
||||
private String createBy;
|
||||
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
@ApiModelProperty(value = "更新人")
|
||||
private String updateBy;
|
||||
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
@ApiModelProperty(value = "剩余额度")
|
||||
private BigDecimal remainingCreditLimit;
|
||||
|
||||
@ApiModelProperty(value = "被调整额度的用户id")
|
||||
private Integer userId;
|
||||
|
||||
@ApiModelProperty(value = "订单id")
|
||||
private Integer orderId;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package com.fuint.business.fleet.mapper;
|
||||
|
||||
import com.fuint.business.fleet.entity.FleetLinesChange;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 车队额度变化表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author dianliang
|
||||
* @since 2024-09-25
|
||||
*/
|
||||
public interface FleetLinesChangeMapper extends BaseMapper<FleetLinesChange> {
|
||||
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
<?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.fuint.business.fleet.mapper.FleetLinesChangeMapper">
|
||||
|
||||
</mapper>
|
@ -0,0 +1,16 @@
|
||||
package com.fuint.business.fleet.service;
|
||||
|
||||
import com.fuint.business.fleet.entity.FleetLinesChange;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 车队额度变化表 服务类
|
||||
* </p>
|
||||
*
|
||||
* @author dianliang
|
||||
* @since 2024-09-25
|
||||
*/
|
||||
public interface IFleetLinesChangeService extends IService<FleetLinesChange> {
|
||||
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
package com.fuint.business.fleet.service.impl;
|
||||
|
||||
import com.fuint.business.fleet.entity.FleetLinesChange;
|
||||
import com.fuint.business.fleet.mapper.FleetLinesChangeMapper;
|
||||
import com.fuint.business.fleet.service.IFleetLinesChangeService;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 车队额度变化表 服务实现类
|
||||
* </p>
|
||||
*
|
||||
* @author dianliang
|
||||
* @since 2024-09-25
|
||||
*/
|
||||
@Service
|
||||
public class FleetLinesChangeServiceImpl extends ServiceImpl<FleetLinesChangeMapper, FleetLinesChange> implements IFleetLinesChangeService {
|
||||
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package com.fuint.business.fleet.vo;
|
||||
|
||||
import com.fuint.business.fleet.entity.FleetLinesChange;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class FleetLinesChangeVo extends FleetLinesChange {
|
||||
/**
|
||||
* 用户名称
|
||||
*/
|
||||
private String userName;
|
||||
/**
|
||||
* 操作人名称
|
||||
*/
|
||||
private String creatName;
|
||||
}
|
Loading…
Reference in New Issue
Block a user