|
|
@@ -74,6 +74,7 @@ public class invCardManageAction implements IMINAction {
|
|
|
@MINAction(value = SELECT_INCOME_BYDATE)
|
|
|
public MINActionResult selectIncomeBydate (
|
|
|
@MINParam(key = "dateFlag") String dateFlag,
|
|
|
+ @MINParam(key = "datesTime") String datesTime,
|
|
|
MINSession session) throws Exception {
|
|
|
MINActionResult res = new MINActionResult();
|
|
|
User user = session.getUser();
|
|
|
@@ -112,8 +113,18 @@ public class invCardManageAction implements IMINAction {
|
|
|
Date parseb = new SimpleDateFormat("yyyyMMdd").parse(dateStringb);
|
|
|
String dateStringd = new SimpleDateFormat("yyyy-MM-dd").format(parseb);
|
|
|
|
|
|
- time = dateStringc.concat(" 至 ").concat(dateStringd);
|
|
|
+ time = dateStringc.concat(" 至 ").concat(dateStringd);
|
|
|
m.put("weekDate", dateString);
|
|
|
+ }else if("3".equals(dateFlag)) {
|
|
|
+ if(StringUtils.isNotEmpty(datesTime)) {
|
|
|
+ m.put("checkDate", datesTime);
|
|
|
+ time = datesTime.replace("-","至");
|
|
|
+ }else {
|
|
|
+ m.put("nowDate", nowDate);
|
|
|
+ Date parse = new SimpleDateFormat("yyyyMMdd").parse(nowDate);
|
|
|
+ String dateString = new SimpleDateFormat("yyyy-MM-dd").format(parse);
|
|
|
+ time = dateString;
|
|
|
+ }
|
|
|
}
|
|
|
if(!Constant.ADMINISTRATION_SYSTEM_NUMBER.equals(user.getBranchId())){
|
|
|
m.put("branchId",user.getBranchId());
|