Merge remote-tracking branch 'origin/main'
commit
3651b57b91
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +1,2 @@
|
|||||||
#n:HRM_TEST
|
#n:HRM_TEST
|
||||||
!<md> [1710253231000, 0, null, null, -2147483648, -2147483648]
|
!<md> [1716478657000, 0, null, null, -2147483648, -2147483648]
|
||||||
|
Binary file not shown.
@ -0,0 +1 @@
|
|||||||
|
#n:HRM_TEST
|
@ -0,0 +1 @@
|
|||||||
|
#n:UF_JCL_KQ_JQYE
|
@ -0,0 +1 @@
|
|||||||
|
#n:UF_JCL_KQ_JQYE_ID_TRIGGER
|
@ -0,0 +1,6 @@
|
|||||||
|
create trigger UF_JCL_KQ_JQYE_ID_TRIGGER
|
||||||
|
before insert
|
||||||
|
on UF_JCL_KQ_JQYE
|
||||||
|
for each row
|
||||||
|
begin select uf_jcl_kq_jqye_Id.nextval into :new.id from dual; end;
|
||||||
|
/
|
@ -1,16 +1,12 @@
|
|||||||
DriverClasses = com.mysql.cj.jdbc.Driver
|
DriverClasses=oracle.jdbc.OracleDriver
|
||||||
|
|
||||||
ecology.url = jdbc:mysql://221.226.25.34:8286/ecologyjcl?characterEncoding=utf8&useSSL=false&autoReconnect=true&failOverReadOnly=false&serverTimezone=Asia/Shanghai
|
ecology.url = jdbc:oracle:thin:@192.168.0.106:1521:ecology
|
||||||
ecology.user = fanwei
|
ecology.user = hrm_test
|
||||||
ecology.password = alpwsl92
|
ecology.password = ecology
|
||||||
ecology.charset = ISO
|
ecology.charset = ISO
|
||||||
ecology.maxconn = 300
|
ecology.maxconn = 300
|
||||||
ecology.minconn = 50
|
ecology.minconn = 50
|
||||||
ecology.maxusecount = 6000
|
ecology.maxusecount = 6000
|
||||||
ecology.maxidletime = 600
|
ecology.maxidletime = 600
|
||||||
ecology.maxalivetime = 10
|
ecology.maxalivetime = 10
|
||||||
ecology.checktime = 3600
|
ecology.checktime = 3600
|
||||||
|
|
||||||
ecology.isgoveproj = 0
|
|
||||||
LOG_FORMAT = yyyy.MM.dd'-'hh:mm:ss
|
|
||||||
DEBUG_MODE = false
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,45 @@
|
|||||||
|
package calendarscheduling;
|
||||||
|
|
||||||
|
import TestAttendanceAllowance.beforlog;
|
||||||
|
import com.alibaba.fastjson.JSONObject;
|
||||||
|
import com.engine.attendance.component.calendarscheduling.service.WorkRulesService;
|
||||||
|
import com.engine.attendance.component.calendarscheduling.service.impl.WorkRulesServiceImpl;
|
||||||
|
import com.engine.common.util.ServiceUtil;
|
||||||
|
import com.fasterxml.jackson.core.JsonProcessingException;
|
||||||
|
import com.google.common.collect.Maps;
|
||||||
|
import com.google.gson.Gson;
|
||||||
|
|
||||||
|
import java.util.HashMap;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
|
||||||
|
public class Test1 extends beforlog {
|
||||||
|
|
||||||
|
|
||||||
|
@org.junit.Test
|
||||||
|
public void test2() throws Exception{
|
||||||
|
WorkRulesService basicsetService = ServiceUtil.getService(WorkRulesServiceImpl.class);
|
||||||
|
Map<String, Object> param = Maps.newHashMap();
|
||||||
|
param.put("dateTime","2024-05");
|
||||||
|
param.put("pageSize","10");
|
||||||
|
param.put("pageindex","1");
|
||||||
|
param.put("deparment","");
|
||||||
|
param.put("type","0");
|
||||||
|
param.put("subcompany","");
|
||||||
|
param.put("tableName","uf_pbjg");
|
||||||
|
|
||||||
|
Map<String, Object> result = basicsetService.getDepartSchedule(param);
|
||||||
|
|
||||||
|
Map<String, Object> apidatas = new HashMap<>();
|
||||||
|
apidatas.put("api_status", true);
|
||||||
|
apidatas.put("data", result);
|
||||||
|
String success = getJsonString(apidatas);
|
||||||
|
|
||||||
|
System.out.println(success);
|
||||||
|
}
|
||||||
|
public String getJsonString(Object apidatas) throws JsonProcessingException {
|
||||||
|
Gson gson = new Gson();
|
||||||
|
// ObjectMapper mapper = new ObjectMapper();
|
||||||
|
return JSONObject.toJSONString(apidatas);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue