You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
package com.example.demo.serviceImpl.cash;
import com.example.demo.domain.vo.coin.Messages;import com.example.demo.service.cash.MessageService;import com.example.demo.mapper.cash.MessageMapper;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.stereotype.Service;import org.springframework.transaction.annotation.Transactional;
import java.util.List;
/** * @program: GOLD * @ClassName MessageServiceImpl * @description: * @author: huangqizhen * @create: 2025−11-14 22:23 * @Version 1.0 **/@Service@Transactionalpublic class MessageServiceImpl implements MessageService { @Autowired private MessageMapper messageMapper; @Override public List<Messages> getMessage(List<String> markets, List<Integer> status) { if(status== null|| status.size()==0){ status.add(99); } return messageMapper.getMessage(markets, status) ; }
@Override public void update(Integer id) throws Exception { try { messageMapper.update(id); } catch (Exception e){ throw new Exception("更新失败"); } }}
|