|
@@ -451,17 +451,24 @@ public class IdentityAuthenticationInfoServiceImpl extends ServiceImpl<IdentityA
|
|
pageView.put("searchKeyWord", identityAuthenticationInfo.getSearchKeyWord());
|
|
pageView.put("searchKeyWord", identityAuthenticationInfo.getSearchKeyWord());
|
|
pageView.put("pageSize", identityAuthenticationInfo.getPageSize());
|
|
pageView.put("pageSize", identityAuthenticationInfo.getPageSize());
|
|
pageView.put("currentPage", identityAuthenticationInfo.getCurrentPage());
|
|
pageView.put("currentPage", identityAuthenticationInfo.getCurrentPage());
|
|
- Calendar cal = Calendar.getInstance();
|
|
|
|
- int yearNum = cal.get(Calendar.YEAR);
|
|
|
|
- int monthNum = cal.get(Calendar.MONTH) + 1;
|
|
|
|
- int dayNum = cal.get(Calendar.DAY_OF_MONTH);
|
|
|
|
- yearNum --;
|
|
|
|
-// SimpleDateFormat now = new SimpleDateFormat(yearNum +"-"+monthNum+"-"+dayNum+" 00:00:00");
|
|
|
|
-// Calendar c = Calendar.getInstance();
|
|
|
|
-// c.setTime(new java.util.Date());
|
|
|
|
-// c.add(Calendar.YEAR, -1);
|
|
|
|
-// Date y = c.getTime();
|
|
|
|
- String year = yearNum +"-"+monthNum+"-"+dayNum+" 00:00:00";
|
|
|
|
|
|
+// Calendar cal = Calendar.getInstance();
|
|
|
|
+// int yearNum = cal.get(Calendar.YEAR);
|
|
|
|
+// int monthNum = cal.get(Calendar.MONTH) + 1;
|
|
|
|
+// int dayNum = cal.get(Calendar.DAY_OF_MONTH);
|
|
|
|
+// yearNum --;
|
|
|
|
+//// SimpleDateFormat now = new SimpleDateFormat(yearNum +"-"+monthNum+"-"+dayNum+" 00:00:00");
|
|
|
|
+//// Calendar c = Calendar.getInstance();
|
|
|
|
+//// c.setTime(new java.util.Date());
|
|
|
|
+//// c.add(Calendar.YEAR, -1);
|
|
|
|
+//// Date y = c.getTime();
|
|
|
|
+// String year = yearNum +"-"+monthNum+"-"+dayNum+" 00:00:00";
|
|
|
|
+ //本年3.1号
|
|
|
|
+ SimpleDateFormat now = new SimpleDateFormat("yyyy-03-01 00:00:00");
|
|
|
|
+ Calendar c = Calendar.getInstance();
|
|
|
|
+ c.setTime(new java.util.Date());
|
|
|
|
+ c.add(Calendar.YEAR, 0);
|
|
|
|
+ Date y = c.getTime();
|
|
|
|
+ String year = now.format(y);
|
|
//公司id
|
|
//公司id
|
|
pageView.put("year", year);
|
|
pageView.put("year", year);
|
|
List<IdentityAuthenticationInfo> dataList = this.baseMapper.getIdentityInfoByCondition(pageView);
|
|
List<IdentityAuthenticationInfo> dataList = this.baseMapper.getIdentityInfoByCondition(pageView);
|
|
@@ -535,17 +542,24 @@ public class IdentityAuthenticationInfoServiceImpl extends ServiceImpl<IdentityA
|
|
if (identityAuthenticationInfo.getGoodsName().contains("玉米")) {
|
|
if (identityAuthenticationInfo.getGoodsName().contains("玉米")) {
|
|
identityAuthenticationInfo.setGoodsName("玉米");
|
|
identityAuthenticationInfo.setGoodsName("玉米");
|
|
}
|
|
}
|
|
- Calendar cal = Calendar.getInstance();
|
|
|
|
- int yearNum = cal.get(Calendar.YEAR);
|
|
|
|
- int monthNum = cal.get(Calendar.MONTH) + 1;
|
|
|
|
- int dayNum = cal.get(Calendar.DAY_OF_MONTH);
|
|
|
|
- yearNum --;
|
|
|
|
-// SimpleDateFormat now = new SimpleDateFormat(yearNum +"-"+monthNum+"-"+dayNum+" 00:00:00");
|
|
|
|
-// Calendar c = Calendar.getInstance();
|
|
|
|
-// c.setTime(new java.util.Date());
|
|
|
|
-// c.add(Calendar.YEAR, -1);
|
|
|
|
-// Date y = c.getTime();
|
|
|
|
- String year = yearNum +"-"+monthNum+"-"+dayNum+" 00:00:00";
|
|
|
|
|
|
+// Calendar cal = Calendar.getInstance();
|
|
|
|
+// int yearNum = cal.get(Calendar.YEAR);
|
|
|
|
+// int monthNum = cal.get(Calendar.MONTH) + 1;
|
|
|
|
+// int dayNum = cal.get(Calendar.DAY_OF_MONTH);
|
|
|
|
+// yearNum --;
|
|
|
|
+//// SimpleDateFormat now = new SimpleDateFormat(yearNum +"-"+monthNum+"-"+dayNum+" 00:00:00");
|
|
|
|
+//// Calendar c = Calendar.getInstance();
|
|
|
|
+//// c.setTime(new java.util.Date());
|
|
|
|
+//// c.add(Calendar.YEAR, -1);
|
|
|
|
+//// Date y = c.getTime();
|
|
|
|
+// String year = yearNum +"-"+monthNum+"-"+dayNum+" 00:00:00";
|
|
|
|
+ //本年3.1号
|
|
|
|
+ SimpleDateFormat now = new SimpleDateFormat("yyyy-03-01 00:00:00");
|
|
|
|
+ Calendar c = Calendar.getInstance();
|
|
|
|
+ c.setTime(new java.util.Date());
|
|
|
|
+ c.add(Calendar.YEAR, 0);
|
|
|
|
+ Date y = c.getTime();
|
|
|
|
+ String year = now.format(y);
|
|
//公司id
|
|
//公司id
|
|
pageView.put("compId", identityAuthenticationInfo.getCompId());
|
|
pageView.put("compId", identityAuthenticationInfo.getCompId());
|
|
pageView.put("authenticationStatusKey", "7");
|
|
pageView.put("authenticationStatusKey", "7");
|