Quellcode durchsuchen

//activity v.2

release_toaliyun_real
xiaohu vor 1 Jahr
Ursprung
Commit
e29a8b8fa2
3 geänderte Dateien mit 5 neuen und 2 gelöschten Zeilen
  1. +2
    -1
      mallinkService/src/main/java/com/iformall/mapper/WxVtwoActivitySpecialTopicMapper.java
  2. +2
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxVtwoActivitySpecialTopicServiceImpl.java
  3. +1
    -0
      mallinkService/src/main/resources/mapper/WxVtwoActivitySpecialTopicMapper.xml

+ 2
- 1
mallinkService/src/main/java/com/iformall/mapper/WxVtwoActivitySpecialTopicMapper.java Datei anzeigen

@@ -22,7 +22,8 @@ public interface WxVtwoActivitySpecialTopicMapper extends CommonMapper<WxVtwoAct


WxVtwoActivitySpecialTopic selectById(@Param("id") Long id, @Param("tenantId")String tenantId); WxVtwoActivitySpecialTopic selectById(@Param("id") Long id, @Param("tenantId")String tenantId);


WxVtwoActivitySpecialTopic selectCreditOne(@Param("tenantId")String tenantId,@Param("creditOnOff") Integer creditOnOff, @Param("orderDate") Date orderDate);
WxVtwoActivitySpecialTopic selectCreditOne(@Param("tenantId")String tenantId,@Param("creditOnOff") Integer creditOnOff,
@Param("orderDate") Date orderDate,@Param("status") Integer status);
} }






+ 2
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxVtwoActivitySpecialTopicServiceImpl.java Datei anzeigen

@@ -151,7 +151,8 @@ public class WxVtwoActivitySpecialTopicServiceImpl extends ServiceImpl<WxVtwoAct


@Override @Override
public WxVtwoActivitySpecialTopic selectCreditOne(TenantEntity tenantEntity, Date orderDate) { public WxVtwoActivitySpecialTopic selectCreditOne(TenantEntity tenantEntity, Date orderDate) {
WxVtwoActivitySpecialTopic specialTopic = wxVtwoActivitySpecialTopicMapper.selectCreditOne(tenantEntity.getTenantId(),EnumYesOrNo.YES.getCode(),orderDate);
WxVtwoActivitySpecialTopic specialTopic = wxVtwoActivitySpecialTopicMapper.selectCreditOne(tenantEntity.getTenantId(),EnumYesOrNo.YES.getCode(),
orderDate,EnumOfflineActivityStatus.ON_LINE.getCode());
if (specialTopic == null) { if (specialTopic == null) {
return null; return null;
} }


+ 1
- 0
mallinkService/src/main/resources/mapper/WxVtwoActivitySpecialTopicMapper.xml Datei anzeigen

@@ -107,6 +107,7 @@
and credit_on_off = #{creditOnOff} and credit_on_off = #{creditOnOff}
and `start_time` &lt;= #{orderDate} and `start_time` &lt;= #{orderDate}
and `end_time` &gt;= #{orderDate} and `end_time` &gt;= #{orderDate}
and `status` = #{status}
limit 1 limit 1
</select> </select>
</mapper> </mapper>

Laden…
Abbrechen
Speichern