提交 6da4c5d8 编写于 作者: 蒋有顺's avatar 蒋有顺

第5次提交

上级 3e248c41
......@@ -114,12 +114,12 @@ public class FinancialStatementsServiceImple implements FinancialStatementsServi
String reportType) {
//boolean flag =false;
try {
String lockPeriodMax = null;
String lockPeroid = reportDate.substring(0, 4)+"-"+reportDate.substring(4, 6);
CwBdReportlock cwBdReportlocks= cwBdReportlockMapper.selectMaxLockPeroid();
if(cwBdReportlocks != null ) {
lockPeriodMax = cwBdReportlocks.getLockPeriodMax();
}
// String lockPeriodMax = null;
// String lockPeroid = reportDate.substring(0, 4)+"-"+reportDate.substring(4, 6);
// CwBdReportlock cwBdReportlocks= cwBdReportlockMapper.selectMaxLockPeroid();
// if(cwBdReportlocks != null ) {
// lockPeriodMax = cwBdReportlocks.getLockPeriodMax();
// }
if (lockPeroid.compareTo(lockPeriodMax) <= 0) {
return new RestfulResponse<Object, CurrencyMeta>(SysConstants.CODE.FAIL,FinanceStatusCode.PERIOD_LOCKED.message()
,MetaDataUtil.getMeta(tracer,FinanceStatusCode.PERIOD_LOCKED));
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册