Merge branch 'master' into develop

master
eason.qian 7 years ago
commit 878545d55e

@ -947,7 +947,14 @@ public class CleanServiceImpl implements CleanService, ManagerTodoNoticeProvider
return JSON.parseObject(reportItem.getString("result"));
}
}
return paymentApi.validTransactions(dt, fix);
JSONObject report = paymentApi.validTransactions(dt, fix);
JSONObject log = new JSONObject();
log.put("valid_date", dt);
log.put("create_time", new Date());
log.put("result", report.toJSONString());
validationLogMapper.removeByDate(dt);
validationLogMapper.save(log);
return report;
}
private byte[] getZipByteArr(List<JSONObject> fileByteArrWithName) throws IOException {

@ -54,7 +54,7 @@
<![CDATA[
SELECT DISTINCT scr.kanga_openid FROM sys_customer_relation scr, sys_managers sm
WHERE scr.wechat_openid = sm.wx_openid AND scr.kanga_openid IS NOT NULL
AND sm.role & 10000001 > 0
AND sm.role & 10000001 > 0 and sm.is_valid=1
]]>
</select>
</mapper>
Loading…
Cancel
Save