|
|
@ -14,9 +14,8 @@ import org.springframework.stereotype.Service; |
|
|
|
|
|
|
|
|
|
|
|
import com.daqing.framework.domain.guarantee.po.DgTeamEfficiencyPO; |
|
|
|
import com.daqing.framework.domain.guarantee.po.DgTeamEfficiencyPO; |
|
|
|
import java.text.SimpleDateFormat; |
|
|
|
import java.text.SimpleDateFormat; |
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.*; |
|
|
|
import java.util.HashMap; |
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
|
|
|
|
|
|
@ -140,16 +139,17 @@ public class DgEfficiencyServiceImpl extends ServiceImpl<DgEfficiencyMapper, DgA |
|
|
|
* @return |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public String approvalNum() { |
|
|
|
public Map approvalNum() { |
|
|
|
//获取当前用户id
|
|
|
|
//获取当前用户id
|
|
|
|
String userId = dgApplyAmountInfoController.getUserId(); |
|
|
|
//String userId = dgApplyAmountInfoController.getUserId();
|
|
|
|
|
|
|
|
String userId = "5"; |
|
|
|
//近十天的日期数组
|
|
|
|
//近十天的日期数组
|
|
|
|
List<String>timeList = dgAuditProcessMapper.selectTenDays(Integer.parseInt(userId)); |
|
|
|
List<String>timeList = dgAuditProcessMapper.selectTenDays(Integer.parseInt(userId)); |
|
|
|
System.out.println("timeList============"+timeList); |
|
|
|
|
|
|
|
//近十天审批数目的值的数组
|
|
|
|
//近十天审批数目的值的数组
|
|
|
|
List<EfficiencyApprovalResponse>approvalList = dgAuditProcessMapper.selectApprovalNum(Integer.parseInt(userId)); |
|
|
|
List<Integer>approvalList = dgAuditProcessMapper.selectApprovalNum(Integer.parseInt(userId)); |
|
|
|
System.out.println("approvalList==========="+approvalList); |
|
|
|
Map map = new HashMap(); |
|
|
|
|
|
|
|
map.put("timeArr",timeList); |
|
|
|
return null; |
|
|
|
map.put("approvalNumArr",approvalList); |
|
|
|
|
|
|
|
return map; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |