@@ -116,6 +116,10 @@ public class AdminReleaseApiController extends CertifyApiController{
res.getError().add(buildError("公出他人企业!需通过审核,才可以打卡!"));
return res;
}
+ if (x==-2){
+ res.getError().add(buildError("公出他人企业!需通过审核,才可以打卡!"));
+ return res;
+ }
res.setData(x);
@@ -980,6 +980,9 @@ public class PublicReleaseServiceImpl extends BaseMybatisDao<PublicReleaseMapper
if (use.getPublicType()==1||use.getPublicType()==3){
return -1;
+ if (use.getTechStartProcess()==1||use.getTechStartProcess()==3){
+ return -2;
List<OutPublicReleaseDetails> prdList = publicReleaseDetailsMapper.selectByPCid(id);
String str = "";
boolean flag=false;