Просмотр исходного кода

//activity v.2

release_toaliyun_real
xiaohu 1 год назад
Родитель
Сommit
e29a8b8fa2
3 измененных файлов: 5 добавлений и 2 удалений
  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 Просмотреть файл

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

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 Просмотреть файл

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

@Override
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) {
return null;
}


+ 1
- 0
mallinkService/src/main/resources/mapper/WxVtwoActivitySpecialTopicMapper.xml Просмотреть файл

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

Загрузка…
Отмена
Сохранить