Browse Source

fix: 删除待关注推送多余代码

lanjianrong 5 năm trước cách đây
mục cha
commit
5a21d33f55
2 tập tin đã thay đổi với 0 bổ sung6 xóa
  1. 0 3
      app/service/change.js
  2. 0 3
      sql/update.sql

+ 0 - 3
app/service/change.js

@@ -538,9 +538,6 @@ module.exports = app => {
                     change_update.p_code = postData.p_code;
                     change_update.sin_time = Date.parse(new Date()) / 1000;
 
-                    // 添加到消息推送表
-                    const noticeContent = await this.getNoticeContent(pid, changeData.tid, changeData.cid);
-                    await this.transaction.insert('zh_notice', { pid, type: pushType.change, uid: changeData.uid, status: audit.flow.status.checked, is_read: 0, content: noticeContent });
                     // 添加短信通知-审批通过提醒功能
                     // const mobile_array = [];
                     const auditList = await this.ctx.service.changeAudit.getListGroupByTimes(changeData.cid, changeData.times);

+ 0 - 3
sql/update.sql

@@ -23,9 +23,6 @@ ALTER TABLE `zh_pos`
 ADD COLUMN `gxby_status`  int(4) NULL DEFAULT 0 COMMENT '工序报验-状态' AFTER `real_qty`,
 ADD COLUMN `dagl_status`  int(4) NULL DEFAULT 0 COMMENT '档案管理-状态' AFTER `gxby_status`;
 
-ALTER TABLE `calculation`.`zh_notice`
-DROP COLUMN `is_read`;
-
 ALTER TABLE `zh_tender`
 ADD COLUMN `uuid`  varchar(50) CHARACTER SET ascii COLLATE ascii_general_ci NULL DEFAULT NULL COMMENT 'uuid' AFTER `deal_tp`;