zhangyuewww %!s(int64=2) %!d(string=hai) anos
pai
achega
1424557a6e

+ 21 - 0
src/main/java/com/yh/saas/plugin/yiliangyiyun/controller/HyReleaseGoodsInfoController.java

@@ -0,0 +1,21 @@
+package com.yh.saas.plugin.yiliangyiyun.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 记录货站发布信息 前端控制器
+ * </p>
+ *
+ * @author Gdc
+ * @since 2023-06-09
+ */
+@RestController
+@RequestMapping("/hyReleaseGoodsInfo")
+public class HyReleaseGoodsInfoController {
+
+}
+

+ 179 - 0
src/main/java/com/yh/saas/plugin/yiliangyiyun/entity/HyReleaseGoodsInfo.java

@@ -0,0 +1,179 @@
+package com.yh.saas.plugin.yiliangyiyun.entity;
+
+import com.baomidou.mybatisplus.activerecord.Model;
+import BaseModel;
+import java.io.Serializable;
+
+import com.baomidou.mybatisplus.annotations.Version;
+
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+
+/**
+ * <p>
+ * 记录货站发布信息
+ * </p>
+ *
+ * @author Gdc
+ * @since 2023-06-09
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+@Accessors(chain = true)
+public class HyReleaseGoodsInfo extends BaseModel<HyReleaseGoodsInfo> {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 主键
+     */
+    private String id;
+    /**
+     * 发布货主id
+     */
+    private String commonId;
+    /**
+     * 发货地省
+     */
+    private String sendPrivate;
+    /**
+     * 发货地市
+     */
+    private String sendCity;
+    /**
+     * 发货地区
+     */
+    private String sendArea;
+    /**
+     * 发货地详细地址
+     */
+    private String sendDetailedAddress;
+    /**
+     * 发货地经度
+     */
+    private String sendLongitude;
+    /**
+     * 发货地纬度
+     */
+    private String sendLatitude;
+    /**
+     * 发货地行政区划代码
+     */
+    private String sendAdCode;
+    /**
+     * 收货地行政区划代码
+     */
+    private String unsendAdCode;
+    /**
+     * 收货地经度
+     */
+    private String unsendLongitude;
+    /**
+     * 收货地纬度
+     */
+    private String unsendLatitude;
+    /**
+     * 收货地省
+     */
+    private String unloadPrivate;
+    /**
+     * 收货地市
+     */
+    private String unloadCity;
+    /**
+     * 收货地区
+     */
+    private String unloadArea;
+    /**
+     * 收货地详细地址
+     */
+    private String unloadDetailedAddress;
+    /**
+     * 货距
+     */
+    private Double cargoDistance;
+    /**
+     * 货名
+     */
+    private String goodsName;
+    /**
+     * 包装类型
+     */
+    private String packageType;
+    /**
+     * 计量方式
+     */
+    private String measuringMethod;
+    /**
+     * 货物重量(吨)
+     */
+    private Double weight;
+    /**
+     * 货物体积(方)
+     */
+    private Double volume;
+    /**
+     * 预计用车数量
+     */
+    private Integer expectedNum;
+    /**
+     * 车型
+     */
+    private String carModel;
+    /**
+     * 车长
+     */
+    private String carLength;
+    /**
+     * 运价单位(0吨,1车,2方)
+     */
+    private String billingMethod;
+    /**
+     * 运价
+     */
+    private Double freightPrice;
+    /**
+     * 联系人
+     */
+    private String contacts;
+    /**
+     * 联系人电话
+     */
+    private String contactsPhone;
+    /**
+     * 货站名称
+     */
+    private String freightStationName;
+    /**
+     * 装车日期
+     */
+    private String loadingDate;
+    /**
+     * 时段
+     */
+    private String periodOfTime;
+    /**
+     * 备注
+     */
+    private String remark;
+    /**
+     * 货站信息费
+     */
+    private Double stationFee;
+    /**
+     * 常发标识(1常发)
+     */
+    private String oftenFlag;
+    /**
+     * 货源状态(已上架/已下架)
+     */
+    private String status;
+
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+}

+ 16 - 0
src/main/java/com/yh/saas/plugin/yiliangyiyun/mapper/HyReleaseGoodsInfoMapper.java

@@ -0,0 +1,16 @@
+package com.yh.saas.plugin.yiliangyiyun.mapper;
+
+import com.yh.saas.plugin.yiliangyiyun.entity.HyReleaseGoodsInfo;
+import com.baomidou.mybatisplus.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 记录货站发布信息 Mapper 接口
+ * </p>
+ *
+ * @author Gdc
+ * @since 2023-06-09
+ */
+public interface HyReleaseGoodsInfoMapper extends BaseMapper<HyReleaseGoodsInfo> {
+
+}

+ 16 - 0
src/main/java/com/yh/saas/plugin/yiliangyiyun/service/IHyReleaseGoodsInfoService.java

@@ -0,0 +1,16 @@
+package com.yh.saas.plugin.yiliangyiyun.service;
+
+import com.yh.saas.plugin.yiliangyiyun.entity.HyReleaseGoodsInfo;
+import com.baomidou.mybatisplus.service.IService;
+
+/**
+ * <p>
+ * 记录货站发布信息 服务类
+ * </p>
+ *
+ * @author Gdc
+ * @since 2023-06-09
+ */
+public interface IHyReleaseGoodsInfoService extends IService<HyReleaseGoodsInfo> {
+
+}

+ 20 - 0
src/main/java/com/yh/saas/plugin/yiliangyiyun/service/impl/HyReleaseGoodsInfoServiceImpl.java

@@ -0,0 +1,20 @@
+package com.yh.saas.plugin.yiliangyiyun.service.impl;
+
+import com.yh.saas.plugin.yiliangyiyun.entity.HyReleaseGoodsInfo;
+import com.yh.saas.plugin.yiliangyiyun.mapper.HyReleaseGoodsInfoMapper;
+import com.yh.saas.plugin.yiliangyiyun.service.IHyReleaseGoodsInfoService;
+import com.baomidou.mybatisplus.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+/**
+ * <p>
+ * 记录货站发布信息 服务实现类
+ * </p>
+ *
+ * @author Gdc
+ * @since 2023-06-09
+ */
+@Service
+public class HyReleaseGoodsInfoServiceImpl extends ServiceImpl<HyReleaseGoodsInfoMapper, HyReleaseGoodsInfo> implements IHyReleaseGoodsInfoService {
+
+}

+ 5 - 0
src/main/resources/mapper/HyReleaseGoodsInfoMapper.xml

@@ -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.yh.saas.plugin.yiliangyiyun.mapper.HyReleaseGoodsInfoMapper">
+
+</mapper>