提交修改
This commit is contained in:
parent
da7d218ba3
commit
9c9841213d
@ -0,0 +1,36 @@
|
||||
package com.heyu.api.data.dao.vv;
|
||||
/**
|
||||
* <p>
|
||||
* 服务类
|
||||
* </p>
|
||||
*
|
||||
* @author quyixiao
|
||||
* @since 2025-12-18
|
||||
*/
|
||||
import com.heyu.api.data.entity.vv.VvFrontPageEntity;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
@Mapper
|
||||
public interface VvFrontPageDao extends BaseMapper<VvFrontPageEntity> {
|
||||
|
||||
|
||||
VvFrontPageEntity selectVvFrontPageById(@Param("id")Long id);
|
||||
|
||||
|
||||
Long insertVvFrontPage(VvFrontPageEntity vvFrontPage);
|
||||
|
||||
|
||||
Long insertOrUpdateVvFrontPage(VvFrontPageEntity vvFrontPage);
|
||||
|
||||
|
||||
int updateVvFrontPageById(VvFrontPageEntity vvFrontPage);
|
||||
|
||||
|
||||
int updateCoverVvFrontPageById(VvFrontPageEntity vvFrontPage);
|
||||
|
||||
|
||||
int deleteVvFrontPageById(@Param("id")Long id);
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,182 @@
|
||||
package com.heyu.api.data.entity.vv;
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import com.lz.mybatis.plugin.annotations.AS;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;import java.util.Date;
|
||||
/**
|
||||
*
|
||||
* @author quyixiao
|
||||
* @since 2025-12-18
|
||||
*/
|
||||
|
||||
@Data
|
||||
@TableName("vv_front_page")
|
||||
public class VvFrontPageEntity implements java.io.Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public final static String CLASS_NAME ="com.heyu.api.data.entity.vv.VvFrontPageEntity:";
|
||||
|
||||
public final static String all = CLASS_NAME + "*";
|
||||
public final static String id_ = CLASS_NAME + "id"; //
|
||||
public final static String is_delete = CLASS_NAME + "is_delete"; // 是否删除:0 否 1 删除
|
||||
public final static String create_time = CLASS_NAME + "create_time"; // 创建时间
|
||||
public final static String modify_time = CLASS_NAME + "modify_time"; // 修改时间
|
||||
public final static String name_ = CLASS_NAME + "name"; // 名称
|
||||
public final static String type_ = CLASS_NAME + "type"; // 类型
|
||||
public final static String style_ = CLASS_NAME + "style"; // 样式
|
||||
public final static String data_ = CLASS_NAME + "data"; // 数据
|
||||
//
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
//是否删除:0 否 1 删除
|
||||
private Integer isDelete;
|
||||
//创建时间
|
||||
private Date createTime;
|
||||
//修改时间
|
||||
private Date modifyTime;
|
||||
//名称
|
||||
private String name;
|
||||
//类型
|
||||
private String type;
|
||||
//样式
|
||||
private String style;
|
||||
//数据
|
||||
private String data;
|
||||
/**
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
/**
|
||||
*
|
||||
* @param id
|
||||
*/
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 是否删除:0 否 1 删除
|
||||
* @return
|
||||
*/
|
||||
public Integer getIsDelete() {
|
||||
return isDelete;
|
||||
}
|
||||
/**
|
||||
* 是否删除:0 否 1 删除
|
||||
* @param isDelete
|
||||
*/
|
||||
public void setIsDelete(Integer isDelete) {
|
||||
this.isDelete = isDelete;
|
||||
}
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
* @return
|
||||
*/
|
||||
public Date getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
/**
|
||||
* 创建时间
|
||||
* @param createTime
|
||||
*/
|
||||
public void setCreateTime(Date createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
* @return
|
||||
*/
|
||||
public Date getModifyTime() {
|
||||
return modifyTime;
|
||||
}
|
||||
/**
|
||||
* 修改时间
|
||||
* @param modifyTime
|
||||
*/
|
||||
public void setModifyTime(Date modifyTime) {
|
||||
this.modifyTime = modifyTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* 名称
|
||||
* @return
|
||||
*/
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
/**
|
||||
* 名称
|
||||
* @param name
|
||||
*/
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
/**
|
||||
* 类型
|
||||
* @return
|
||||
*/
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
/**
|
||||
* 类型
|
||||
* @param type
|
||||
*/
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
/**
|
||||
* 样式
|
||||
* @return
|
||||
*/
|
||||
public String getStyle() {
|
||||
return style;
|
||||
}
|
||||
/**
|
||||
* 样式
|
||||
* @param style
|
||||
*/
|
||||
public void setStyle(String style) {
|
||||
this.style = style;
|
||||
}
|
||||
|
||||
/**
|
||||
* 数据
|
||||
* @return
|
||||
*/
|
||||
public String getData() {
|
||||
return data;
|
||||
}
|
||||
/**
|
||||
* 数据
|
||||
* @param data
|
||||
*/
|
||||
public void setData(String data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "VvFrontPageEntity{" +
|
||||
",id=" + id +
|
||||
",isDelete=" + isDelete +
|
||||
",createTime=" + createTime +
|
||||
",modifyTime=" + modifyTime +
|
||||
",name=" + name +
|
||||
",type=" + type +
|
||||
",style=" + style +
|
||||
",data=" + data +
|
||||
"}";
|
||||
}
|
||||
}
|
||||
@ -5,7 +5,7 @@ public enum ActionEnums {
|
||||
|
||||
Admin_Cancel("Admin_Cancel", "admin取消按钮", "/mm/order/cancel", OrderStatusEnums.cancel.getStatus()),
|
||||
|
||||
App_Apply_Cancel("App_Apply_Cancel", "app申请取消按钮", "/app/order/applyCancel", OrderStatusEnums.apply_cancel.getStatus()),
|
||||
App_Apply_Cancel("App_Apply_Cancel", "取消订单", "/app/order/applyCancel", OrderStatusEnums.apply_cancel.getStatus()),
|
||||
|
||||
Admin_Delivered("Admin_Delivered", "admin妥投,确认收货", "/mm/order/delivered",OrderStatusEnums.delivered.getStatus()),
|
||||
|
||||
|
||||
@ -0,0 +1,68 @@
|
||||
package com.heyu.api.data.service.impl.vv;
|
||||
/**
|
||||
* <p>
|
||||
* 服务类
|
||||
* </p>
|
||||
*
|
||||
* @author quyixiao
|
||||
* @since 2025-12-18
|
||||
*/
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.heyu.api.data.dao.vv.VvFrontPageDao;
|
||||
import com.heyu.api.data.entity.vv.VvFrontPageEntity;
|
||||
import com.heyu.api.data.service.vv.VvFrontPageService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
@Service
|
||||
public class VvFrontPageServiceImpl extends ServiceImpl<VvFrontPageDao, VvFrontPageEntity> implements VvFrontPageService {
|
||||
|
||||
|
||||
@Autowired
|
||||
private VvFrontPageDao vvFrontPageDao;
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public VvFrontPageEntity selectVvFrontPageById(Long id){
|
||||
return vvFrontPageDao.selectVvFrontPageById(id);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public Long insertVvFrontPage(VvFrontPageEntity vvFrontPage){
|
||||
return vvFrontPageDao.insertVvFrontPage(vvFrontPage);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public Long insertOrUpdateVvFrontPage(VvFrontPageEntity vvFrontPage){
|
||||
return vvFrontPageDao.insertOrUpdateVvFrontPage(vvFrontPage);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public int updateVvFrontPageById(VvFrontPageEntity vvFrontPage){
|
||||
return vvFrontPageDao.updateVvFrontPageById(vvFrontPage);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public int updateCoverVvFrontPageById(VvFrontPageEntity vvFrontPage){
|
||||
return vvFrontPageDao.updateCoverVvFrontPageById(vvFrontPage);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public int deleteVvFrontPageById(Long id){
|
||||
return vvFrontPageDao.deleteVvFrontPageById(id);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,34 @@
|
||||
package com.heyu.api.data.service.vv;
|
||||
/**
|
||||
* <p>
|
||||
* 服务类
|
||||
* </p>
|
||||
*
|
||||
* @author quyixiao
|
||||
* @since 2025-12-18
|
||||
*/
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.heyu.api.data.entity.vv.VvFrontPageEntity;
|
||||
public interface VvFrontPageService extends IService<VvFrontPageEntity> {
|
||||
|
||||
|
||||
|
||||
VvFrontPageEntity selectVvFrontPageById(Long id);
|
||||
|
||||
|
||||
Long insertVvFrontPage(VvFrontPageEntity vvFrontPage);
|
||||
|
||||
|
||||
Long insertOrUpdateVvFrontPage(VvFrontPageEntity vvFrontPage);
|
||||
|
||||
|
||||
int updateVvFrontPageById(VvFrontPageEntity vvFrontPage);
|
||||
|
||||
|
||||
int updateCoverVvFrontPageById(VvFrontPageEntity vvFrontPage);
|
||||
|
||||
|
||||
int deleteVvFrontPageById(Long id);
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,6 @@
|
||||
<?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.heyu.api.data.dao.vv.VvFrontPageDao">
|
||||
|
||||
</mapper>
|
||||
|
||||
@ -94,7 +94,7 @@ public class MysqlMain_insert {
|
||||
|
||||
List<TablesBean> list = new ArrayList<TablesBean>();
|
||||
|
||||
list.add(new TablesBean("vv_out_trade_no"));
|
||||
list.add(new TablesBean("vv_front_page"));
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user