anderx 1 год назад
Родитель
Сommit
dc3bd24422

+ 3 - 3
src/main/java/com/goafanti/weChat/controller/AdminReleaseApiController.java

@@ -133,9 +133,9 @@ public class AdminReleaseApiController extends CertifyApiController{
 	 * 外出申请详情、公出详情
 	 */
 	@RequestMapping(value = "/dtails", method = RequestMethod.GET)
-	public Result dtails(Integer id){
+	public Result details(Integer id){
 		Result res =new Result();
-		res.setData(publicReleaseService.dtails(id));
+		res.setData(publicReleaseService.details(id));
 		return res;
 	}
 
@@ -144,7 +144,7 @@ public class AdminReleaseApiController extends CertifyApiController{
 	 * 外出申请详情
 	 */
 	@RequestMapping(value = "/followDtails", method = RequestMethod.GET)
-	public Result followDtails(String id){
+	public Result followDetails(String id){
 		Result res =new Result();
 		res.setData(publicReleaseService.followDtails(id));
 		return res;

+ 1 - 1
src/main/java/com/goafanti/weChat/service/PublicReleaseService.java

@@ -29,7 +29,7 @@ public interface PublicReleaseService {
 
 	int pushPublicReleaseClockIn(Integer id,String photoUrl,Integer clockIn ,String clockInRemarks ,String uid);
 
-	OutPublicRelease dtails(Integer id);
+	OutPublicRelease details(Integer id);
 
 	Object publicReleaseStatistics(InputPublicStatistics in);
 

+ 1 - 1
src/main/java/com/goafanti/weChat/service/impl/PublicReleaseServiceImpl.java

@@ -1445,7 +1445,7 @@ public class PublicReleaseServiceImpl extends BaseMybatisDao<PublicReleaseMapper
 	}
 
 	@Override
-	public OutPublicRelease dtails(Integer id) {
+	public OutPublicRelease details(Integer id) {
 		String aid=TokenManager.getAdminId();
 		//如果不是本人和审核人员则不返回信息
 		OutPublicRelease out=publicReleaseMapper.selectDtails(id);