xucaiqin 1 сар өмнө
parent
commit
fce78d95ac

+ 27 - 0
sckw-modules-api/sckw-order-api/src/main/java/com/sckw/order/api/model/TradeOrderDto.java

@@ -0,0 +1,27 @@
+package com.sckw.order.api.model;
+
+import lombok.Getter;
+import lombok.Setter;
+import lombok.ToString;
+
+import java.io.Serial;
+import java.io.Serializable;
+import java.math.BigDecimal;
+
+@Getter
+@Setter
+@ToString
+public class TradeOrderDto implements Serializable {
+
+    @Serial
+    private static final long serialVersionUID = 6909518527687999256L;
+    private Long id;
+
+    private String goodsType;
+
+    private Long goodsId;
+
+    private BigDecimal amount;
+    private BigDecimal unitPrice;
+
+}

+ 12 - 3
sckw-modules-api/sckw-system-api/src/main/java/com/sckw/system/api/RemoteSystemService.java

@@ -52,6 +52,8 @@ public interface RemoteSystemService {
      */
     Map<String, Map<String, String>> queryDictByType(List<String> type);
 
+    DictProduct queryProductName(String value);
+
     /**
      * @param type 字典类型,value key
      * @return SysDictResDto
@@ -78,6 +80,7 @@ public interface RemoteSystemService {
      * @date: 2023/7/7
      */
     List<SysDictResDto> queryDictBottom(String type, String value);
+
     List<SysDictResDto> queryGoodsDict(String keywords);
 
     /**
@@ -187,7 +190,9 @@ public interface RemoteSystemService {
      * @date: 2023/7/7
      */
     UserCacheResDto queryUserCacheById(Long userId);
+
     UserResDto queryUserById(Long userId);
+
     UserResDto queryUserByPhone(String phone);
 
     /**
@@ -225,6 +230,7 @@ public interface RemoteSystemService {
      * @date: 2023/8/2
      */
     List<AreaTreeFrontResDto> queryAreaTreeFrontByCodeList(List<Integer> list);
+
     /**
      * @param entId 企业id
      * @return UserCacheResDto
@@ -236,16 +242,16 @@ public interface RemoteSystemService {
 
     /**
      * @param entId 企业ID
-     * @desc 企业详情(企业登录/司机登录)
+     * @desc 企业详情(企业登录 / 司机登录)
      * @author zk
      * @date 2023/8/10
      **/
     EntCacheResDto queryEntDetails(Long entId);
 
     /**
-     * @param account 账号
+     * @param account    账号
      * @param systemType 系统类型
-     * @desc 用户详情(企业端登录/运营端登录)
+     * @desc 用户详情(企业端登录 / 运营端登录)
      * @author zk
      * @date 2023/8/10
      **/
@@ -277,6 +283,7 @@ public interface RemoteSystemService {
 
     /**
      * 企业主键id查询数据库企业信息
+     *
      * @param entIds 企业id查询数据库企业信息
      * @return
      */
@@ -299,6 +306,7 @@ public interface RemoteSystemService {
 
     /**
      * 计算平台配置的运单单趟总耗时
+     *
      * @param dto
      * @return
      */
@@ -306,6 +314,7 @@ public interface RemoteSystemService {
 
     /**
      * 计算平台配置贸易订单实际派车数
+     *
      * @param dto
      */
     Integer getActualDisPatch(ActualDisPatchDto dto);

+ 18 - 0
sckw-modules-api/sckw-system-api/src/main/java/com/sckw/system/api/model/dto/res/DictProduct.java

@@ -0,0 +1,18 @@
+package com.sckw.system.api.model.dto.res;
+
+import lombok.Data;
+
+import java.io.Serializable;
+
+/**
+ * @desc 专场信息
+ * @author zk
+ * @date 2023/12/13 0013
+ */
+@Data
+public class DictProduct implements Serializable {
+    private String type;
+
+    private String label;
+
+}