jacky6024
pirms 7 gadiem
3 mainītis faili ar 30 papildinājumiem un 1 dzēšanām
@ -0,0 +1,27 @@ |
|||
package com.bstek.ureport.expression.function; |
|||
|
|||
import java.util.List; |
|||
|
|||
import com.bstek.ureport.build.Context; |
|||
import com.bstek.ureport.expression.model.data.ExpressionData; |
|||
import com.bstek.ureport.model.Cell; |
|||
|
|||
/** |
|||
* @author Jacky.gao |
|||
* @since 2017年12月7日 |
|||
*/ |
|||
public class ParameterIsEmptyFunction extends ParameterFunction{ |
|||
@Override |
|||
public Object execute(List<ExpressionData<?>> dataList, Context context, |
|||
Cell currentCell) { |
|||
Object obj = super.execute(dataList, context, currentCell); |
|||
if(obj==null || obj.toString().trim().equals("")){ |
|||
return true; |
|||
} |
|||
return false; |
|||
} |
|||
@Override |
|||
public String name() { |
|||
return "emptyparam"; |
|||
} |
|||
} |
@ -1,3 +1,4 @@ |
|||
ureport.disableHttpSessionReportCache=false |
|||
ureport.disableFileProvider=false |
|||
ureport.fileStoreDir=/WEB-INF/ureportfiles |
|||
ureport.fileStoreDir=/WEB-INF/ureportfiles |
|||
urule.consoleLoggerLevel=INFO |
Notiek ielāde…
Atsaukties uz šo jaunā problēmā