临时提交
This commit is contained in:
@@ -146,9 +146,9 @@ public interface CommonGBChannelMapper {
|
||||
int update(CommonGBChannel commonGBChannel);
|
||||
|
||||
@Update(value = {" <script>" +
|
||||
"UPDATE wvp_device_channel " +
|
||||
"SET gb_status = #{gbStatus}" +
|
||||
"WHERE id = #{gbId}"+
|
||||
" UPDATE wvp_device_channel " +
|
||||
" SET gb_status = #{status}" +
|
||||
" WHERE id = #{gbId}"+
|
||||
" </script>"})
|
||||
int updateStatusById(@Param("gbId") int gbId, @Param("status") int status);
|
||||
|
||||
|
||||
@@ -108,7 +108,7 @@ public class ChannelProvider {
|
||||
sqlBuild.append(getBaseSelectSql());
|
||||
sqlBuild.append("where gb_status=#{status} and id in ( ");
|
||||
|
||||
List<CommonGBChannel> commonGBChannelList = (List<CommonGBChannel>)params.get("ids");
|
||||
List<CommonGBChannel> commonGBChannelList = (List<CommonGBChannel>)params.get("commonGBChannelList");
|
||||
boolean first = true;
|
||||
for (CommonGBChannel channel : commonGBChannelList) {
|
||||
if (!first) {
|
||||
|
||||
Reference in New Issue
Block a user