北京经济技术开发区经开区虚拟城市项目-【后端】-服务,Poi,企业,地块等定制接口
13693261870
2023-10-07 fd6bb502578fa6af39f1b8ea936387517054159f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package com.smartearth.poiexcel.service;
 
import com.smartearth.poiexcel.entity.DkEntity;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.stereotype.Service;
 
/**
 * 地块服务类
 * @author WWW
 * @date 2023-10-05
 */
@Service
@SuppressWarnings("ALL")
public class DkService {
    private final static Log log = LogFactory.getLog(DkService.class);
 
    /**
     * 根据编号更新
     */
    public boolean updateByBh(DkEntity dk) {
        try {
            //
 
            return true;
        } catch (Exception ex) {
            log.error(ex.getMessage(), ex);
            return false;
        }
    }
 
    /**
     * 根据坐标更新
     */
    public boolean updateByCoord(DkEntity dk) {
        try {
            //
 
            return true;
        } catch (Exception ex) {
            log.error(ex.getMessage(), ex);
            return false;
        }
    }
}