软删除bug

This commit is contained in:
钱涛 2022-03-01 14:13:02 +08:00
parent fb56c4d379
commit 363325b3af
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ public class TaxAgentListCmd extends AbstractCommonCommand<Map<String, Object>>
private String makeSqlWhere(Map<String, Object> params) {
RecordSet rs = new RecordSet();
StringBuilder sqlWhere = new StringBuilder("where 1 = 1");
StringBuilder sqlWhere = new StringBuilder("where delete_Type = 0");
Collection<String> ids = (Collection<String>) params.get("ids");
if (CollectionUtils.isNotEmpty(ids)) {
sqlWhere.append(" AND id in (").append(String.join(",", ids)).append(")");