1;history数据问题处理
This commit is contained in:
parent
4704f1b9a8
commit
eae187c6c2
|
@ -137,6 +137,7 @@ public class SecurityConfig
|
|||
.antMatchers(HttpMethod.POST,"/mt/cookies").permitAll()
|
||||
.antMatchers("/test/**").permitAll()
|
||||
.antMatchers("/eleme/message_receive").permitAll()
|
||||
.antMatchers(HttpMethod.GET,"/mt/getReturnInfo").permitAll()
|
||||
// .antMatchers("/mt/**").permitAll()
|
||||
// .antMatchers("/ai/**").permitAll()
|
||||
|
||||
|
|
|
@ -753,8 +753,9 @@ public class MeituanServiceImpl implements IMeituanService {
|
|||
|
||||
@Override
|
||||
public void getReturnInfo(Long id) {
|
||||
getComments(null);
|
||||
DateTimeFormatter dateTimeFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd");
|
||||
LocalDateTime date = LocalDateTime.now().minusDays(2);
|
||||
LocalDateTime date = LocalDateTime.now().minusDays(1);
|
||||
BusStoreInfo storeInfo = new BusStoreInfo();
|
||||
if (id != null){
|
||||
storeInfo.setId(id);
|
||||
|
@ -792,7 +793,6 @@ public class MeituanServiceImpl implements IMeituanService {
|
|||
}
|
||||
}
|
||||
}
|
||||
getComments(null);
|
||||
}
|
||||
|
||||
private String getRate(int a, int b){
|
||||
|
|
|
@ -99,7 +99,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<include refid="selectBusStoreDayInfoVo"/>
|
||||
where store_id = #{id} and DATE_SUB(create_time, INTERVAL 1 DAY) between #{sT} and #{eT}
|
||||
</select>
|
||||
<select id="selectBusStoreDayInfoListByDate" resultType="com.ruoyi.business.domain.BusStoreDayInfo">
|
||||
<select id="selectBusStoreDayInfoListByDate" resultMap="BusStoreDayInfoResult">
|
||||
<include refid="selectBusStoreDayInfoVo"/>
|
||||
<where> DATE_FORMAT(create_time,'%Y-%m-%d') = #{date}
|
||||
<if test="storeId != null "> and store_id = #{storeId}</if>
|
||||
|
|
|
@ -716,13 +716,17 @@ export default {
|
|||
await refresh().then(response => {
|
||||
this.$modal.msgSuccess("同步中...");
|
||||
this.handleQuery();
|
||||
})
|
||||
}).catch(function() {
|
||||
|
||||
});
|
||||
},
|
||||
async handleComment(row){
|
||||
await getComment(row.id).then(response => {
|
||||
this.$modal.msgSuccess("同步中...");
|
||||
this.handleQuery();
|
||||
})
|
||||
}).catch(function() {
|
||||
|
||||
});
|
||||
},
|
||||
/** 修改按钮操作 */
|
||||
handleUpdate(row) {
|
||||
|
|
Loading…
Reference in New Issue