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