全局修改物理删除为逻辑删除,同时修改查询语句过滤删除标识
This commit is contained in:
@@ -4,6 +4,7 @@ import com.jsh.erp.datasource.entities.Role;
|
||||
import com.jsh.erp.datasource.entities.RoleExample;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public interface RoleMapperEx {
|
||||
@@ -15,4 +16,6 @@ public interface RoleMapperEx {
|
||||
|
||||
Long countsByRole(
|
||||
@Param("name") String name);
|
||||
|
||||
int batchDeleteRoleByIds(@Param("updateTime") Date updateTime, @Param("updater") Long updater, @Param("ids") String ids[]);
|
||||
}
|
||||
Reference in New Issue
Block a user