fix problem

This commit is contained in:
dev02 2022-12-12 16:15:04 +08:00
parent ed5afdb0e1
commit 9d02c456ba

View File

@ -65,9 +65,6 @@ namespace FrontendWebApi.ApiControllers
if (post.Role_full_name != null) if (post.Role_full_name != null)
sqlString += $@" and B.full_name like '%{post.Role_full_name}%'"; sqlString += $@" and B.full_name like '%{post.Role_full_name}%'";
if (post.Status != null)
sqlString += $@" and A.status = '{post.Status}'";
} }
sqlString += " ORDER BY A.created_at DESC"; sqlString += " ORDER BY A.created_at DESC";