Pu Zhibing
2025-04-25 b35b859957e3f8aac2f7d70b7a13f5eb16056840
ManagementIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/service/impl/TSystemNoticeServiceImpl.java
@@ -1,9 +1,9 @@
package com.stylefeng.guns.modular.system.service.impl;
import com.stylefeng.guns.modular.system.model.TSystemNotice;
import com.stylefeng.guns.modular.system.dao.TSystemNoticeMapper;
import com.stylefeng.guns.modular.system.service.ITSystemNoticeService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.stylefeng.guns.modular.system.dao.TSystemNoticeMapper;
import com.stylefeng.guns.modular.system.model.TSystemNotice;
import com.stylefeng.guns.modular.system.service.ITSystemNoticeService;
import org.springframework.stereotype.Service;
import java.util.Date;
@@ -19,7 +19,7 @@
@Service
public class TSystemNoticeServiceImpl extends ServiceImpl<TSystemNoticeMapper, TSystemNotice> implements ITSystemNoticeService {
    @Override
    public void addSystemNotice(Integer userType, String content, Integer userId) throws Exception {
    public void addSystemNotice(Integer userType, String content, Integer userId) {
        TSystemNotice systemNotice = new TSystemNotice();
        systemNotice.setContent(content);
        systemNotice.setInsertTime(new Date());