|
|
|
@ -455,8 +455,9 @@ public class AttendanceSummaryServiceImpl extends Service implements AttendanceS
|
|
|
|
|
hsdw = Util.null2String(kqxmInfo.get("hsdw"));
|
|
|
|
|
kqxmId = Util.null2String(kqxmInfo.get("id"));
|
|
|
|
|
mc = Util.null2String(kqxmInfo.get("mc"));
|
|
|
|
|
int lengthCompareValue = "字".getBytes().length * 9;
|
|
|
|
|
int mcLength = mc.getBytes().length;
|
|
|
|
|
if ("oracle".equals(dbType) && mcLength > 28) {
|
|
|
|
|
if ("oracle".equals(dbType) && mcLength > lengthCompareValue) {
|
|
|
|
|
mc = mc.substring(0,9);
|
|
|
|
|
}
|
|
|
|
|
if ("0".equals(hsdw)) {
|
|
|
|
|