SZH
2022-06-29 58afdd5355f8105cb8afe273a98b0257d7930c4e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package com.gkhy.safePlatform.emergency.service.impl;
 
import com.gkhy.safePlatform.emergency.service.DemoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
 
@Service("demoService")
public class DemoServiceImpl implements DemoService {
 
    @Autowired
    private DemoService demoService;
    // 1
 
    //2
 
    //返回的都是dto 到controller
}