资质预警暂时修改成全部预警

dev_test1.0
anthonywj 1 year ago
parent c043a6ed69
commit 55a13b7f62

@ -144,7 +144,7 @@ public class SupCertRemindMsgImpl implements SupCertRemindMsgService {
*/
private QueryWrapper<SupCertEntity> buildQueryWrapper(Integer type) {
QueryWrapper<SupCertEntity> wrapper = new QueryWrapper<>();
wrapper.eq("status", 0).eq("auditStatus", ConstantStatus.AUDIT_PASS).lt("expireDate", new Date()).eq("type", type);
wrapper.eq("status", 0).lt("expireDate", new Date()).eq("type", type);
switch (type) {
case 1: //查询供应商ID
wrapper.select("CustomerId", "code", "vailDate", "expireDate", "type");
@ -185,7 +185,7 @@ public class SupCertRemindMsgImpl implements SupCertRemindMsgService {
wrapper.ge("expireDate", currentDate);
wrapper.eq("status", 0).eq("auditStatus", ConstantStatus.AUDIT_PASS).eq("type", type);
wrapper.eq("status", 0).eq("type", type);
switch (type) {
case 1: //查询供应商ID
wrapper.select("CustomerId", "code", "vailDate", "expireDate", "type");

Loading…
Cancel
Save