Commit e29eaee3 by liulianglang

在逃时长统计

parent 6654a569
......@@ -624,7 +624,7 @@ public class ZtryServiceImpl implements ZtryService {
}
if ("three".equals(tpsclx) || tpsclx == "three") {//一到三年
//calendar.add(Calendar.YEAR, -1);
calendar.add(Calendar.YEAR, -1);
rbksjEnd = dateFormat.format(calendar.getTime());
calendar.add(Calendar.YEAR, -2);
rbksjStart = dateFormat.format(calendar.getTime());
......@@ -634,7 +634,7 @@ public class ZtryServiceImpl implements ZtryService {
}
if ("five".equals(tpsclx) || tpsclx == "five") {//三到五年
//calendar.add(Calendar.YEAR, -3);
calendar.add(Calendar.YEAR, -3);
rbksjEnd = dateFormat.format(calendar.getTime());
calendar.add(Calendar.YEAR, -2);
rbksjStart = dateFormat.format(calendar.getTime());
......@@ -644,7 +644,7 @@ public class ZtryServiceImpl implements ZtryService {
}
if ("ten".equals(tpsclx) || tpsclx == "ten") {//五年以上
//calendar.add(Calendar.YEAR, -5);
calendar.add(Calendar.YEAR, -5);
rbksjEnd = dateFormat.format(calendar.getTime());
ztry.setRbksjEnd(rbksjEnd);
......
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