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;
|
}
|
}
|
}
|