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