记得上下班打卡 | git大法好,push需谨慎

Commit ac3f4934 authored by 姜秀龙's avatar 姜秀龙

Merge branch 'refs/heads/250115-realNameAndinformation-optimization' into container-test

parents e0c83065 7b91708b
...@@ -6,4 +6,8 @@ ADD COLUMN `notice_type` tinyint(2) NOT NULL DEFAULT '1' COMMENT '须知类型 1 ...@@ -6,4 +6,8 @@ ADD COLUMN `notice_type` tinyint(2) NOT NULL DEFAULT '1' COMMENT '须知类型 1
UPDATE `kylin_buy_notice` SET `notice_type` = 1 WHERE `notice_type` IS NULL OR `notice_type` = 0; UPDATE `kylin_buy_notice` SET `notice_type` = 1 WHERE `notice_type` IS NULL OR `notice_type` = 0;
-- 添加索引 -- 添加索引
ALTER TABLE `kylin_buy_notice` ADD INDEX `idx_notice_type` (`notice_type`); ALTER TABLE `kylin_buy_notice` ADD INDEX `idx_notice_type` (`notice_type`);
\ No newline at end of file
alter table kylin_buy_notice
modify message varchar(500) default '' not null comment '内容';
...@@ -37,9 +37,9 @@ ...@@ -37,9 +37,9 @@
<a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="kylin:notices:create"> <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="kylin:notices:create">
<i class="fa fa-plus"></i> 添加 <i class="fa fa-plus"></i> 添加
</a> </a>
<a class="btn btn-danger multiple disabled" onclick="removeAllNotices()" shiro:hasPermission="kylin:notices:delete"> <!-- <a class="btn btn-danger multiple disabled" onclick="removeAllNotices()" shiro:hasPermission="kylin:notices:delete">-->
删除 <!-- 删除-->
</a> <!-- </a>-->
</div> </div>
<div class="col-sm-12 select-table table-bordered"> <div class="col-sm-12 select-table table-bordered">
<table id="bootstrap-table"></table> <table id="bootstrap-table"></table>
...@@ -61,13 +61,14 @@ ...@@ -61,13 +61,14 @@
removeUrl: prefix + "/delete", removeUrl: prefix + "/delete",
detailUrl: prefix + "/detail/{id}", detailUrl: prefix + "/detail/{id}",
modalName: "须知", modalName: "须知",
columns: [{ columns: [
checkbox: true // {
}, // checkbox: true
{ // },
field: 'buyNoticeId', // {
title: 'ID' // field: 'buyNoticeId',
}, // title: 'ID'
// },
{ {
field: 'imgUrl', field: 'imgUrl',
title: '图标', title: '图标',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment