|
@@ -18,22 +18,20 @@ public interface InspectionsDao {
|
|
|
|
|
|
@Select("select rtrim(code) as code, rtrim(name) as name, rtrim(exec_unit) as execUnit, " +
|
|
|
"execUnitName=(select rtrim(name) from zd_unit_code where code=exec_unit), " +
|
|
|
- "rtrim(py_code) as pyCode, rtrim(d_code) as wbCode, wx_bookable_flag " +
|
|
|
+ "rtrim(py_code) as pyCode, rtrim(d_code) as wbCode, wx_bookable_flag, book_tip " +
|
|
|
"from ${tableName} where isnull(del_flag,0)!=1")
|
|
|
IPage<ExamItem> searchItems(IPage<ExamItem> iPage,
|
|
|
@Param("tableName") String tableName);
|
|
|
|
|
|
@Select("select rtrim(code) as code, rtrim(name) as name, rtrim(exec_unit) as execUnit, " +
|
|
|
"execUnitName=(select rtrim(name) from zd_unit_code where code=exec_unit), " +
|
|
|
- "rtrim(py_code) as pyCode, rtrim(d_code) as wbCode, wx_bookable_flag " +
|
|
|
+ "rtrim(py_code) as pyCode, rtrim(d_code) as wbCode, wx_bookable_flag, book_tip " +
|
|
|
"from ${tableName} where isnull(del_flag,0)!=1 and ${method} like #{content}")
|
|
|
IPage<ExamItem> searchItemsByCondition(IPage<ExamItem> iPage,
|
|
|
@Param("tableName") String tableName,
|
|
|
@Param("method") String method,
|
|
|
@Param("content") String content);
|
|
|
|
|
|
- @Update("update ${tableName} set wx_bookable_flag=#{flag} where code=#{code}")
|
|
|
- void updateWxBookableFlag(@Param("tableName") String tableName,
|
|
|
- @Param("code") String code,
|
|
|
- @Param("flag") Integer flag);
|
|
|
+ @Update("update ${tableName} set wx_bookable_flag=#{wxBookableFlag},book_tip=#{bookTip} where code=#{code}")
|
|
|
+ void updateWxBookableFlag(ExamItem item);
|
|
|
}
|