|
|
|
@ -119,12 +119,12 @@ public class ReportHqlPack {
|
|
|
|
|
* @param rowId
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
public static String packHqlBrLayoutColumnByRowIdSortBySeq(Long rowId){
|
|
|
|
|
public static String packHqlBrLayoutColumnByRowIdSort(Long rowId){
|
|
|
|
|
StringBuffer result = new StringBuffer();
|
|
|
|
|
|
|
|
|
|
// 查询参数封装
|
|
|
|
|
HqlPack.getNumEqualPack(rowId,"layoutRowId",result);
|
|
|
|
|
HqlPack.getOrderByPack(new Object[]{CommonEnumUtil.ASC_OR_DESC.ASC.getValue(),CommonEnumUtil.ASC_OR_DESC.DESC.getValue()},new String[]{"columnSort","modifyDatetime"},result);
|
|
|
|
|
HqlPack.getOrderByPack(new Object[]{CommonEnumUtil.ASC_OR_DESC.DESC.getValue(),CommonEnumUtil.ASC_OR_DESC.DESC.getValue()},new String[]{"columnSort","modifyDatetime"},result);
|
|
|
|
|
|
|
|
|
|
return result.toString();
|
|
|
|
|
}
|
|
|
|
@ -134,12 +134,12 @@ public class ReportHqlPack {
|
|
|
|
|
* @param layoutId
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
public static String packHqlBrLayoutRowByLayoutIdSortBySeq(Long layoutId){
|
|
|
|
|
public static String packHqlBrLayoutRowByLayoutIdSort(Long layoutId){
|
|
|
|
|
StringBuffer result = new StringBuffer();
|
|
|
|
|
|
|
|
|
|
// 查询参数封装
|
|
|
|
|
HqlPack.getNumEqualPack(layoutId,"layoutId",result);
|
|
|
|
|
HqlPack.getOrderByPack(new Object[]{CommonEnumUtil.ASC_OR_DESC.ASC.getValue(),CommonEnumUtil.ASC_OR_DESC.DESC.getValue()},new String[]{"rowSort","modifyDatetime"},result);
|
|
|
|
|
HqlPack.getOrderByPack(new Object[]{CommonEnumUtil.ASC_OR_DESC.DESC.getValue(),CommonEnumUtil.ASC_OR_DESC.DESC.getValue()},new String[]{"rowSort","modifyDatetime"},result);
|
|
|
|
|
|
|
|
|
|
return result.toString();
|
|
|
|
|
}
|
|
|
|
|