|
|
@@ -2,11 +2,14 @@ package com.lc.ibps.components.employee.provider;
|
|
|
|
|
|
import java.util.Date;
|
|
|
import java.util.List;
|
|
|
+import java.util.Map;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
|
|
import com.lc.ibps.base.framework.id.UniqueIdUtil;
|
|
|
import com.lc.ibps.components.employee.persistence.dao.RegistrationOutsidersDao;
|
|
|
+import com.lc.ibps.entrust.dao.RegistrationOutsidersMapperDao;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
@@ -49,6 +52,9 @@ public class RegistrationOutsidersProvider extends GenericProvider implements IR
|
|
|
@Resource
|
|
|
private RegistrationOutsidersDao registrationOutsidersDao;
|
|
|
|
|
|
+ @Autowired
|
|
|
+ private RegistrationOutsidersMapperDao registrationOutsidersMapperDao;
|
|
|
+
|
|
|
@ApiOperation(value = "外来人员登记表列表(分页条件查询)数据", notes = "外来人员登记表列表(分页条件查询)数据")
|
|
|
@Override
|
|
|
public APIResult<APIPageList<RegistrationOutsidersPo>> query(
|
|
|
@@ -135,5 +141,17 @@ public class RegistrationOutsidersProvider extends GenericProvider implements IR
|
|
|
}
|
|
|
return result;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public APIResult<List<Map<String, Object>>> getRegistrationOutsidersFileConfig() {
|
|
|
+ APIResult<List<Map<String, Object>>> result = new APIResult();
|
|
|
+ try {
|
|
|
+ List<Map<String, Object>> dataList = registrationOutsidersMapperDao.getRegistrationOutsidersFileConfig();
|
|
|
+ result.setData(dataList);
|
|
|
+ } catch (Exception e) {
|
|
|
+ setExceptionResult(result, StateEnum.ERROR.getCode(), StateEnum.ERROR.getText(), e);
|
|
|
+ }
|
|
|
+ return result;
|
|
|
+ }
|
|
|
}
|