wangrenhuang
2022-09-01 130b710185498fe37c473750d9782a4b009abbbd
Merge remote-tracking branch 'origin/master'
2个文件已修改
2个文件已添加
141 ■■■■■ 已修改文件
phis-feign/src/main/java/com/hz/his/dto/coupon/UserArrDto.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phis-feign/src/main/java/com/hz/his/dto/order/OrderPHisDto.java 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncProjectService.java 30 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phis-feign/src/main/java/com/hz/phis/dt/coupon/CouponDetailDt.java 100 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phis-feign/src/main/java/com/hz/his/dto/coupon/UserArrDto.java
@@ -32,5 +32,8 @@
    private Integer isSendSMS;
    /**数量发送优惠券数量*/
    private Integer amount;
    /**开始时间*/
    private String startTime;
    /**结束时间*/
    private String endTime;
}
phis-feign/src/main/java/com/hz/his/dto/order/OrderPHisDto.java
@@ -6,7 +6,7 @@
import java.util.List;
/**
 * Created with IntelliJ IDEA.
 * 开单参数Dto
 *
 * @Author: zhouxiang
 * @Date: 2022/08/31/10:32
@@ -21,9 +21,9 @@
    //操作人门店标识,必填
    private String shopId;
    //总订单信息,必填
    private OrdersTotalDto ordersTotal;
    private OrdersTotalDto orderTotal;
    //一级子订单,必填
    private List<OrderItemDto> orderItem;
    //开发人集合
    private OrderDeveloperDto orderDeveloper;
    private List<OrderDeveloperDto> orderDeveloper;
}
phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncProjectService.java
New file
@@ -0,0 +1,30 @@
package com.hz.his.feign.service.sync;
import com.alibaba.fastjson.JSONObject;
import com.hx.resultTool.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
/**
 * @Author
 */
@FeignClient(name="synchro-service",path = "/his_synchro",contextId = "synchro-project")
public interface SyncProjectService {
    /**
     * 新增项目分类
     * @param jsonObject
     * @return
     */
    @GetMapping(value = "/sync/project/add/service/tree")
    Result addServiceTree(@RequestBody JSONObject jsonObject);
    /**
     * 修改
     * @param jsonObject
     * @return
     */
    @GetMapping(value = "/sync/project/update/service/tree")
    Result updateServiceTree(@RequestBody JSONObject jsonObject);
}
phis-feign/src/main/java/com/hz/phis/dt/coupon/CouponDetailDt.java
New file
@@ -0,0 +1,100 @@
package com.hz.phis.dt.coupon;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Index;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import com.hz.phis.dt.limit.LimitDt;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
/**
 * 优惠券详情返回实体
 *
 * @author fwq
 */
@Data
public class CouponDetailDt {
    /**标识*/
    private String id;
    /**优惠券标题*/
    private String title;
    /**描述*/
    private String describeInfo;
    /**是否上架*/
    private Integer isUp;
    /**使用须知*/
    private String useKnowInfo;
    /**注意事项*/
    private String carefulInfo;
    /**使用类型*/
    private Integer useType;
    /**项目使用类型(0指定项目,1项目通用)*/
    private Integer useProjectType;
    /**商品使用类型(2指定商品,3商品通用)*/
    private Integer useGoodsType;
    /**促销使用类型(-1取消,8指定促销,9促销通用)*/
    private Integer usePromotionType;
    /**卡项使用类型(-1取消,10指定卡项,11卡项通用)*/
    private Integer useCardType;
    /**团购商品使用类型(4指定商品,5商品通用)*/
    private Integer commodityType;
    /**积分商品使用类型(6指定商品,7商品通用)*/
    private Integer integralType;
    /**是否展示*/
    private Integer isShow;
    /**展示开始时间*/
    private String startShowTime;
    /**展示结束时间*/
    private String endShowTime;
    /**条件类型*/
    private Integer conditionType;
    /**满足金额(元)(满足该金额便可用)*/
    private BigDecimal amountSatisfied;
    /**满足件数(满足该商品件数便可用,暂时预留)*/
    private Integer itemNum;
    /**优惠类型*/
    private Integer type;
    /**优惠金额(元)*/
    private BigDecimal discountAmount;
    /**优惠折扣*/
    private Double discountNum;
    /**计时类型*/
    private Integer timeType ;
    /**叠加时长(年)*/
    public Integer yearNum ;
    /**叠加时长(月)*/
    public Integer monthNum ;
    /**叠加时长(日)*/
    public Integer dayNum ;
    /**叠加时长(小时)*/
    public Integer hoursNum ;
    /**有效开始时间*/
    private String startTime;
    /**有效结束时间*/
    private String endTime;
    /**是否能使用增值金*/
    private Integer isIncrement;
    /**排序*/
    private Integer sortNum;
    /**原价*/
    private BigDecimal originalPrice;
    /**现价*/
    private BigDecimal price;
    /**有效状态(0作废 1有效)*/
    private Integer validState;
    /**艾心会优惠券标识,荣爷和梁悦说his优惠券和crm优惠券一一对应关系*/
    private String crmCouponId;
    /**艾心会优惠券名称*/
    private String crmCouponName;
    /**平台类型(艾心荟、p-his、其他,默认p-his)*/
    private String platformType;
    /**是否生日券(0:否,1:是)*/
    private Integer isBirthday;
    /**生日券等级限制(多个用逗号隔开)*/
    private String birthdayLevel;
}