Administrator %!s(int64=4) %!d(string=hai) anos
pai
achega
27091d0268

+ 0 - 12
src/main/java/com/goafanti/admin/controller/AdminReleaseApiController.java

@@ -56,18 +56,6 @@ public class AdminReleaseApiController extends CertifyApiController{
 	@RequestMapping(value = "/updatePublicRelease", method = RequestMethod.POST)
 	public Result updatePublicRelease(InputPublicRelease in){
 		Result res = new Result();
-		if (StringUtils.isBlank(in.getUid())) {
-			res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR,"用户编号"));
-			return res;
-		}
-		if (StringUtils.isBlank(in.getReleaseStarts())) {
-			res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR,"公出时间"));
-			return res;
-		}
-		if (StringUtils.isBlank(in.getUserName())) {
-			res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR,"公出地点"));
-			return res;
-		}
 		
 		res.setData(publicReleaseService.updatePublicRelease(in));
 		return res;

+ 2 - 1
src/main/java/com/goafanti/common/mapper/UserMapperExt.xml

@@ -335,8 +335,9 @@
 			a.aid,
 			a.sign_bills signBills,
 			a.share_type as shareType,
+			a.channel ,
 			a.information_maintainer as mid 		
-		from user a 
+		from `user` a 
 		left join organization_identity b on a.id = b.uid
 		left join district_glossory dg1 on b.location_province = dg1.id
 		left join district_glossory dg2 on b.location_city = dg2.id