修复级联状态推成 0 和 1 而不是 ON 和 OFF 的问题

This commit is contained in:
Li Keqing
2024-12-27 15:18:56 +08:00
parent 460f73555e
commit dade2854b1
2 changed files with 3 additions and 3 deletions

View File

@@ -152,7 +152,7 @@ public interface CommonGBChannelMapper {
" SET gb_status = #{status}" +
" WHERE id = #{gbId}"+
" </script>"})
int updateStatusById(@Param("gbId") int gbId, @Param("status") int status);
int updateStatusById(@Param("gbId") int gbId, @Param("status") String status);
@Update("<script> " +
"<foreach collection='commonGBChannels' index='index' item='item' separator=';'> " +