Commit 1f85689f authored by Quxl's avatar Quxl

x

parent 09368344
......@@ -14,7 +14,6 @@ import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
import com.egolm.sso.SapServiceApplication;
import com.egolm.sso.config.XRException;
import com.egolm.sso.util.DateUtil;
import com.egolm.sso.util.SqlUtil;
......@@ -52,12 +51,8 @@ public class CommonService {
@Value("${dataTracking.isOpen}")
private boolean isOpen;
private Long getNextval(String sName) {
CommonService common = SapServiceApplication.getBean(CommonService.class);
return common.getNextval2(sName);
}
private Long getNextval2(String sName) {
public Long getNextval(String sName) {
//JdbcTemplate jdbcTemplate = SapServiceApplication.getBean(JdbcTemplate.class);
try {
Map<String, Object> seqMap = jdbcTemplate.queryForMap("select * from x_sequence where name = ?", sName);
Integer id = (Integer) seqMap.get("id");
......
......@@ -7,4 +7,5 @@ spring:
initialSize: 1
maxWait: 60000
minIdle: 1
dataTracking.isOpen: false
\ No newline at end of file
dataTracking.isOpen: false
wsUsedAuth: false
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment