liuliang
parent
63ae8376b5
commit
dd50a64bb2
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,171 @@
|
||||
#
|
||||
# There is insufficient memory for the Java Runtime Environment to continue.
|
||||
# Native memory allocation (malloc) failed to allocate 1048576 bytes for AllocateHeap
|
||||
# Possible reasons:
|
||||
# The system is out of physical RAM or swap space
|
||||
# In 32 bit mode, the process size limit was hit
|
||||
# Possible solutions:
|
||||
# Reduce memory load on the system
|
||||
# Increase physical memory or swap space
|
||||
# Check if swap backing store is full
|
||||
# Use 64 bit Java on a 64 bit OS
|
||||
# Decrease Java heap size (-Xmx/-Xms)
|
||||
# Decrease number of Java threads
|
||||
# Decrease Java thread stack sizes (-Xss)
|
||||
# Set larger code cache with -XX:ReservedCodeCacheSize=
|
||||
# This output file may be truncated or incomplete.
|
||||
#
|
||||
# Out of Memory Error (memory/allocation.inline.hpp:61), pid=16064, tid=5468
|
||||
#
|
||||
# JRE version: (8.0_40-b25) (build )
|
||||
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.40-b25 mixed mode windows-amd64 compressed oops)
|
||||
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
|
||||
#
|
||||
|
||||
--------------- T H R E A D ---------------
|
||||
|
||||
Current thread (0x000000000118d800): JavaThread "Unknown thread" [_thread_in_vm, id=5468, stack(0x0000000002c90000,0x0000000002d90000)]
|
||||
|
||||
Stack: [0x0000000002c90000,0x0000000002d90000]
|
||||
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
|
||||
V [jvm.dll+0x32b47a]
|
||||
V [jvm.dll+0x2797f3]
|
||||
V [jvm.dll+0x27a489]
|
||||
V [jvm.dll+0x2717a5]
|
||||
V [jvm.dll+0x1606]
|
||||
V [jvm.dll+0x3f7cf2]
|
||||
V [jvm.dll+0x3f868f]
|
||||
V [jvm.dll+0x3f875d]
|
||||
V [jvm.dll+0x3f8926]
|
||||
V [jvm.dll+0xf2c12]
|
||||
V [jvm.dll+0x20f139]
|
||||
V [jvm.dll+0x240d9a]
|
||||
V [jvm.dll+0x15b941]
|
||||
C [java.exe+0x216e]
|
||||
C [java.exe+0xcce7]
|
||||
C [java.exe+0xcd7b]
|
||||
C [KERNEL32.DLL+0x17344]
|
||||
C [ntdll.dll+0x4cc91]
|
||||
|
||||
|
||||
--------------- P R O C E S S ---------------
|
||||
|
||||
Java Threads: ( => current thread )
|
||||
|
||||
Other Threads:
|
||||
|
||||
=>0x000000000118d800 (exited) JavaThread "Unknown thread" [_thread_in_vm, id=5468, stack(0x0000000002c90000,0x0000000002d90000)]
|
||||
|
||||
VM state:not at safepoint (normal execution)
|
||||
|
||||
VM Mutex/Monitor currently owned by a thread: None
|
||||
|
||||
Heap:
|
||||
PSYoungGen total 75776K, used 1300K [0x000000076b800000, 0x0000000770c80000, 0x00000007c0000000)
|
||||
eden space 65024K, 2% used [0x000000076b800000,0x000000076b9451f8,0x000000076f780000)
|
||||
from space 10752K, 0% used [0x0000000770200000,0x0000000770200000,0x0000000770c80000)
|
||||
to space 10752K, 0% used [0x000000076f780000,0x000000076f780000,0x0000000770200000)
|
||||
ParOldGen total 173568K, used 0K [0x00000006c2800000, 0x00000006cd180000, 0x000000076b800000)
|
||||
object space 173568K, 0% used [0x00000006c2800000,0x00000006c2800000,0x00000006cd180000)
|
||||
Metaspace used 766K, capacity 4480K, committed 4480K, reserved 1056768K
|
||||
class space used 75K, capacity 384K, committed 384K, reserved 1048576K
|
||||
|
||||
Card table byte_map: [0x0000000012410000,0x0000000012c00000] byte_map_base: 0x000000000edfc000
|
||||
|
||||
Marking Bits: (ParMarkBitMap*) 0x0000000071914040
|
||||
Begin Bits: [0x0000000013750000, 0x00000000176b0000)
|
||||
End Bits: [0x00000000176b0000, 0x000000001b610000)
|
||||
|
||||
Polling page: 0x0000000000b90000
|
||||
|
||||
CodeCache: size=245760Kb used=328Kb max_used=328Kb free=245431Kb
|
||||
bounds [0x0000000003050000, 0x00000000032c0000, 0x0000000012050000]
|
||||
total_blobs=57 nmethods=0 adapters=37
|
||||
compilation: enabled
|
||||
|
||||
Compilation events (0 events):
|
||||
No events
|
||||
|
||||
GC Heap History (0 events):
|
||||
No events
|
||||
|
||||
Deoptimization events (0 events):
|
||||
No events
|
||||
|
||||
Internal exceptions (0 events):
|
||||
No events
|
||||
|
||||
Events (10 events):
|
||||
Event: 0.028 loading class java/lang/Short
|
||||
Event: 0.028 loading class java/lang/Short done
|
||||
Event: 0.028 loading class java/lang/Integer
|
||||
Event: 0.028 loading class java/lang/Integer done
|
||||
Event: 0.028 loading class java/lang/Long
|
||||
Event: 0.028 loading class java/lang/Long done
|
||||
Event: 0.028 loading class java/lang/NullPointerException
|
||||
Event: 0.029 loading class java/lang/NullPointerException done
|
||||
Event: 0.029 loading class java/lang/ArithmeticException
|
||||
Event: 0.029 loading class java/lang/ArithmeticException done
|
||||
|
||||
|
||||
Dynamic libraries:
|
||||
0x00007ff7bc530000 - 0x00007ff7bc567000 D:\soft\JDK8\bin\java.exe
|
||||
0x00007ffd0c910000 - 0x00007ffd0cb08000 C:\WINDOWS\SYSTEM32\ntdll.dll
|
||||
0x00007ffd0acf0000 - 0x00007ffd0adad000 C:\WINDOWS\System32\KERNEL32.DLL
|
||||
0x00007ffd0a230000 - 0x00007ffd0a526000 C:\WINDOWS\System32\KERNELBASE.dll
|
||||
0x00007ffd0adb0000 - 0x00007ffd0ae60000 C:\WINDOWS\System32\ADVAPI32.dll
|
||||
0x00007ffd0a950000 - 0x00007ffd0a9ee000 C:\WINDOWS\System32\msvcrt.dll
|
||||
0x00007ffd0aec0000 - 0x00007ffd0af60000 C:\WINDOWS\System32\sechost.dll
|
||||
0x00007ffd0ba80000 - 0x00007ffd0bba3000 C:\WINDOWS\System32\RPCRT4.dll
|
||||
0x00007ffd0a780000 - 0x00007ffd0a7a7000 C:\WINDOWS\System32\bcrypt.dll
|
||||
0x00007ffd0b8e0000 - 0x00007ffd0ba7f000 C:\WINDOWS\System32\USER32.dll
|
||||
0x00007ffd0a530000 - 0x00007ffd0a552000 C:\WINDOWS\System32\win32u.dll
|
||||
0x00007ffd0aa50000 - 0x00007ffd0aa7b000 C:\WINDOWS\System32\GDI32.dll
|
||||
0x00007ffd0a660000 - 0x00007ffd0a777000 C:\WINDOWS\System32\gdi32full.dll
|
||||
0x00007ffd0a860000 - 0x00007ffd0a8fd000 C:\WINDOWS\System32\msvcp_win.dll
|
||||
0x00007ffd0a560000 - 0x00007ffd0a660000 C:\WINDOWS\System32\ucrtbase.dll
|
||||
0x00007ffcf48d0000 - 0x00007ffcf4b6a000 C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.4355_none_60b8b9eb71f62e16\COMCTL32.dll
|
||||
0x00007ffd0c880000 - 0x00007ffd0c8af000 C:\WINDOWS\System32\IMM32.DLL
|
||||
0x00000000719a0000 - 0x0000000071a72000 D:\soft\JDK8\jre\bin\msvcr100.dll
|
||||
0x0000000071110000 - 0x0000000071993000 D:\soft\JDK8\jre\bin\server\jvm.dll
|
||||
0x00007ffd0bbb0000 - 0x00007ffd0bbb8000 C:\WINDOWS\System32\PSAPI.DLL
|
||||
0x00007ffced070000 - 0x00007ffced079000 C:\WINDOWS\SYSTEM32\WSOCK32.dll
|
||||
0x00007ffd0c810000 - 0x00007ffd0c87b000 C:\WINDOWS\System32\WS2_32.dll
|
||||
0x00007ffd04ee0000 - 0x00007ffd04eea000 C:\WINDOWS\SYSTEM32\VERSION.dll
|
||||
0x00007ffcf98d0000 - 0x00007ffcf98f7000 C:\WINDOWS\SYSTEM32\WINMM.dll
|
||||
0x0000000071100000 - 0x000000007110f000 D:\soft\JDK8\jre\bin\verify.dll
|
||||
0x00000000710d0000 - 0x00000000710f9000 D:\soft\JDK8\jre\bin\java.dll
|
||||
0x0000000071080000 - 0x00000000710a3000 D:\soft\JDK8\jre\bin\instrument.dll
|
||||
0x00000000710b0000 - 0x00000000710c6000 D:\soft\JDK8\jre\bin\zip.dll
|
||||
0x00007ffd07b90000 - 0x00007ffd07d74000 C:\WINDOWS\SYSTEM32\dbghelp.dll
|
||||
0x00007ffd0a040000 - 0x00007ffd0a0c2000 C:\WINDOWS\System32\bcryptPrimitives.dll
|
||||
|
||||
VM Arguments:
|
||||
jvm_args: -javaagent:D:\soft\IntelliJ IDEA 2021.2\lib\idea_rt.jar=50114:D:\soft\IntelliJ IDEA 2021.2\bin -Dfile.encoding=UTF-8
|
||||
java_command: TestObj
|
||||
java_class_path (initial): C:\Users\liuliang\AppData\Local\Temp\classpath1755129399.jar;D:\soft\IntelliJ IDEA 2021.2\lib\idea_rt.jar
|
||||
Launcher Type: SUN_STANDARD
|
||||
|
||||
Environment Variables:
|
||||
JAVA_HOME=D:\soft\JDK8
|
||||
CLASSPATH=.;D:\soft\JDK8\lib\dt.jar;D:\soft\JDK8\lib\tools.jar;D:\Resin\lib\resin.jar;D:\WEAVER\Resin\lib\resin.jar
|
||||
PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;D:\soft\JDK8\jre\bin;D:\soft\apache-maven-3.5.0\bin;D:\soft\hadoop-2.7.7\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files (x86)\Microsoft SQL Server\150\DTS\Binn\;C:\Program Files\Azure Data Studio\bin;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;D:\nodejs\;D:\Git\cmd;C:\Program Files\Bandizip\;C:\Program Files\TortoiseSVN\bin;C:\Users\liuliang\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Azure Data Studio\bin;D:\Microsoft VS Code\bin;D:\nodejs\node_global;D:\soft\mysql-8.0.29-winx64\bin;
|
||||
USERNAME=liuliang
|
||||
OS=Windows_NT
|
||||
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 158 Stepping 13, GenuineIntel
|
||||
|
||||
|
||||
|
||||
--------------- S Y S T E M ---------------
|
||||
|
||||
OS: Windows 10.0 , 64 bit Build 19041 (10.0.19041.3636)
|
||||
|
||||
CPU:total 6 (6 cores per cpu, 1 threads per core) family 6 model 158 stepping 13, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, 3dnowpref, lzcnt, tsc, tscinvbit, bmi1, bmi2, adx
|
||||
|
||||
Memory: 4k page, physical 16611380k(3183404k free), swap 20805684k(6628k free)
|
||||
|
||||
vm_info: Java HotSpot(TM) 64-Bit Server VM (25.40-b25) for windows-amd64 JRE (1.8.0_40-b25), built on Feb 10 2015 21:53:57 by "java_re" with MS VC++ 10.0 (VS2010)
|
||||
|
||||
time: Fri Jun 21 17:46:11 2024
|
||||
elapsed time: 0 seconds (0d 0h 0m 0s)
|
||||
|
File diff suppressed because one or more lines are too long
Binary file not shown.
@ -0,0 +1,34 @@
|
||||
package com.engine.attendance.attendanceanalysis.cmd.getclockInpoint.biz;
|
||||
|
||||
import com.engine.attendance.attendanceanalysis.dto.clockpoint.ClockPointDTO;
|
||||
import com.engine.attendance.attendanceanalysis.dto.clockpoint.ClockPointInfo;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
public abstract class AbstractAdjustClockPointAction implements AdjustClockPointActionInterface{
|
||||
/**
|
||||
* 作用班次
|
||||
*/
|
||||
protected String applyClasses;
|
||||
/**
|
||||
* 参数
|
||||
*/
|
||||
protected Map<String,String> params;
|
||||
|
||||
public String getApplyClasses() {
|
||||
return applyClasses;
|
||||
}
|
||||
|
||||
public void setApplyClasses(String applyClasses) {
|
||||
this.applyClasses = applyClasses;
|
||||
}
|
||||
|
||||
public Map<String, String> getParams() {
|
||||
return params;
|
||||
}
|
||||
|
||||
public void setParams(Map<String, String> params) {
|
||||
this.params = params;
|
||||
}
|
||||
}
|
@ -0,0 +1,68 @@
|
||||
package com.engine.attendance.component.persongroup.cmd;
|
||||
|
||||
import com.engine.attendance.component.persongroup.job.scheduling.tactics.RegularScheduling;
|
||||
import com.engine.common.biz.AbstractCommonCommand;
|
||||
import com.engine.common.entity.BizLogContext;
|
||||
import com.engine.common.util.DbTools;
|
||||
import com.engine.common.util.Utils;
|
||||
import com.engine.core.interceptor.CommandContext;
|
||||
import com.google.common.collect.Maps;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import weaver.common.DateUtil;
|
||||
import weaver.general.Util;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@Slf4j
|
||||
public class GenerateScheduleCmd extends AbstractCommonCommand<Map<String,Object>> {
|
||||
public GenerateScheduleCmd(Map<String,Object> params){
|
||||
this.params=params;
|
||||
}
|
||||
|
||||
private List<RegularScheduling> rulers;
|
||||
{
|
||||
rulers = new Utils<RegularScheduling>().getAllClassByInterface(RegularScheduling.class);
|
||||
|
||||
}
|
||||
@Override
|
||||
public BizLogContext getLogContext() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map<String, Object> execute(CommandContext commandContext) {
|
||||
String executeDate = Util.null2String(params.get("executeDate"));
|
||||
String day = Util.null2String(params.get("day"));
|
||||
|
||||
Map<String,Object> resultMap = Maps.newHashMap();
|
||||
if (executeDate == null || "".equals(executeDate)){
|
||||
executeDate = DateUtil.getCurrentDate();
|
||||
}
|
||||
String sql = "select * from uf_jcl_kq_glpb where edate > ? and bdate<=?";
|
||||
List<Map<String,Object>> dataList = DbTools.getSqlToList(sql,executeDate,executeDate);
|
||||
Map<String,String> formmodeIdMap = Utils.getFormmodeIdMap();
|
||||
//规律排班模块id
|
||||
String modeId = formmodeIdMap.get("uf_jcl_kq_glpb");
|
||||
//排班结果模块
|
||||
String formmodeid = formmodeIdMap.get("uf_pbjg");
|
||||
log.debug("dataList : [{}]",dataList);
|
||||
|
||||
String finalExecuteDate = executeDate;
|
||||
dataList.forEach(e -> {
|
||||
e.put("modeId",modeId);
|
||||
e.put("day",day);
|
||||
e.put("formmodeid",formmodeid);
|
||||
e.put("executeDate", finalExecuteDate);
|
||||
String zzqlx = Util.null2String(e.get("zzqlx"));
|
||||
for (RegularScheduling workOverTimeComputeRuler :rulers){
|
||||
if (workOverTimeComputeRuler.support(Integer.valueOf(zzqlx))){
|
||||
workOverTimeComputeRuler.compute(e);
|
||||
}
|
||||
}
|
||||
});
|
||||
resultMap.put("message","生成成功");
|
||||
|
||||
return resultMap;
|
||||
}
|
||||
}
|
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.
@ -1,13 +1,15 @@
|
||||
package TestAttendanceAllowance;
|
||||
|
||||
import com.engine.attendance.attendanceanalysis.cmd.getclockInpoint.AdjustClockPointAction;
|
||||
import com.engine.attendance.attendanceanalysis.cmd.getclockInpoint.biz.AdjustClockPointActionInterface;
|
||||
import com.google.common.collect.Lists;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class Test2 {
|
||||
@org.junit.Test
|
||||
public void testAnalysis() throws Exception{
|
||||
AdjustClockPointAction action = (AdjustClockPointAction)Class.forName("com.engine.attendance.attendanceanalysis.cmd.getclockInpoint.MergeApairClockPoint").newInstance();
|
||||
|
||||
action.execute(null);
|
||||
|
||||
String str = "11,22,33,44";
|
||||
List<String> applyClassList = Lists.newArrayList(str.split(","));
|
||||
System.out.println(applyClassList.contains("13"));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue