配置列表接口优化

This commit is contained in:
sxu 2024-11-09 19:59:25 +08:00
parent f3bedea63b
commit 06dbf00c04
3 changed files with 5 additions and 3 deletions

View File

@ -71,4 +71,6 @@ public interface IBmConfigService
public List<String> getLeaseTaskAuditRoleIds();
public List<String> getBackTaskAuditRoleIds();
public boolean isPurchaseAllowPartTransfer();
}

View File

@ -84,7 +84,7 @@ public interface PurchaseCheckDetailsMapper {
int updatePurchaseDetails(PurchaseCheckDetails details);
int getCountOfNoneThisStatus(@Param("taskId") Long taskId, @Param("newTaskStatus") Integer newTaskStatus);
int getCountOfNoneThisStatus(@Param("taskId") Long taskId, @Param("status") Integer status);
/**
* 删除新购验收任务详细

View File

@ -301,8 +301,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
from
purchase_check_details
where
`status` != #{newTaskStatus}
and del_flag = '0'
`status` != #{status}
and (del_flag = '0' or del_flag is null)
and task_id = #{taskId}
</select>
</mapper>