编辑代码

def c

def dif = c?10:null

if(dif>0){
    print('xxxxxx')
}else{
      print('yyyyy')
}