package com.sckw.slope.detection.service;


import com.alibaba.fastjson2.JSONObject;
import com.sckw.slope.detection.dao.mysql.KwsProjectMapper;
import com.sckw.slope.detection.model.dos.mysql.KwsProject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author lfdc
 * @description
 * @date 2023-10-24 13:10:06
 */
@Service
public class MysqlDemoService {

    @Autowired
    KwsProjectMapper projectMapper;
    public void mysqlDemo() {

        List<KwsProject> kwtLogisticsOrders = projectMapper.selectList(null);
        System.out.println(JSONObject.toJSONString(kwtLogisticsOrders));
    }
}
