Kaynağa Gözat

[储值卡][新增]:添加开始时间/结束时间保证查询

release_toaliyun_real
Stormeye Wu 7 yıl önce
ebeveyn
işleme
8488496e50
2 değiştirilmiş dosya ile 11 ekleme ve 1 silme
  1. +4
    -0
      mallinkService/src/main/java/com/iformall/domain/po/WxMerchantSubsidy.java
  2. +7
    -1
      mallinkService/src/main/resources/mapper/WxMerchantSubsidyMapper.xml

+ 4
- 0
mallinkService/src/main/java/com/iformall/domain/po/WxMerchantSubsidy.java Dosyayı Görüntüle

@@ -64,7 +64,11 @@ public class WxMerchantSubsidy implements Serializable {
@io.swagger.annotations.ApiModelProperty(value="更新时间",name="updateDate") @io.swagger.annotations.ApiModelProperty(value="更新时间",name="updateDate")
private Date updateDate; private Date updateDate;


@Transient
private Date startdate;


@Transient
private Date enddate;


public static enum Field public static enum Field
{ {


+ 7
- 1
mallinkService/src/main/resources/mapper/WxMerchantSubsidyMapper.xml Dosyayı Görüntüle

@@ -65,7 +65,10 @@
</if> </if>
<if test=" null != updateDate "> <if test=" null != updateDate ">
and `update_date` = #{updateDate} and `update_date` = #{updateDate}
</if>
</if>
<if test=" null != startdate and null!=enddate">
and `create_date` between #{startdate} and #{enddate}
</if>
<if test=" null != ids "> <if test=" null != ids ">
and id in and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")"> <foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">
@@ -157,6 +160,9 @@
<if test=" null != updateDate "> <if test=" null != updateDate ">
and ms.`update_date` = #{updateDate} and ms.`update_date` = #{updateDate}
</if> </if>
<if test=" null != startdate and null!=enddate">
and ms.`create_date` between #{startdate} and #{enddate}
</if>
<if test=" null != ids "> <if test=" null != ids ">
and id in and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")"> <foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


Yükleniyor…
İptal
Kaydet