• 日志工具类-Mapper静态调用


    @Component
    public class MatchLogUtil {
    @Autowired
    private OtcMatchLogMapper otcMatchLogMapper;
    private static MatchLogUtil matchLogUtil;
    @PostConstruct
    public void init() {
    matchLogUtil = this;
    matchLogUtil.otcMatchLogMapper = this.otcMatchLogMapper;
    }
    public static int add(String orderId,
    Integer matchOrderId,
    String msg,
    Integer state,
    String remark,
    Date updateTime,
    Date createTime) {
    return matchLogUtil.otcMatchLogMapper.insert(orderId,matchOrderId,msg,state,remark,updateTime,createTime);
    }
    }

  • 相关阅读:
    python
    car-travel project
    数据库
    kafka笔记
    cloudera笔记
    上课笔记
    structured streaming
    SparkSQL
    流数据
    spark厦门大学
  • 原文地址:https://www.cnblogs.com/LoveShare/p/14019326.html
Copyright © 2020-2023  润新知