|
@@ -55,7 +55,7 @@ public interface WorkMapper extends BaseMapper<WorkEntity> {
|
|
|
@SelectProvider(type = BaseProvider.class, method = "selectSql")
|
|
|
List<ReportWorkVo> groupByTypeSql(String format);
|
|
|
|
|
|
- @Select("select * from tb_work where is_delete=0 and (id =#{id} or num =#{id})")
|
|
|
+ @Select("select * from tb_work where (id =#{id} or num =#{id})")
|
|
|
WorkEntity findByIdOrNum(String id);
|
|
|
|
|
|
|