|
本帖最后由 bingbing4647 于 2014-10-31 09:26 编辑
1.生成UUID,GUID
String name = java.util.UUID.randomUUID().toString();
String FID = CommonUtils.createGUID();
2.not in 的使用
main.setFilter("filter","NOT QSZD_DJDCB.DJH in ('52260060O')");
3.多个gridSelect关联同一个bizData
多个gridSelect关联同一个bizData,只需要在其中任何gridSelect中设置independence 为true即可
4.Oracle级联删除
--设置主键
alter table T_ZD_DK
add constraint PK_DK primary key (FID)
--设置主键级联
alter table T_ZD_JZDZB
add constraint FK_JZDZB foreign key (ZD_GUID)
references T_ZD_DK(FID) on delete cascade;
5.表渲染
jiti.grdMain_XZQ_DMRender = function(event){
var BL_CANTON_CODE = justep.xbl("bBL_CANTON_CODE");
BL_CANTON_CODE.setFilter("filter0","BL_CANTON_CODE.LINK_CODE = '" + event.value + "'");
BL_CANTON_CODE.refreshData();
return BL_CANTON_CODE.getValue("CTN_NAME", BL_CANTON_CODE.getCurrentID());
};
6.就在内部打开
justep.Portal.openWindow("棚户区已改造详细","/UI/LandDynamicMonitoring/Land_common/common/process/LandMonitoring/shedTransformed.w?process=/flowCommon/flowCommonManager/process/flowCommonManager/flowCommonManagerProcess&activity=shedTransformed&FID="
+ curRowID);
7.编辑限制
function cannotEdit(){
nzzxmgy.setReadonly(true);
zjgggy.setReadonly(true);
bT_TDYTMX.setReadonly(true);
bLDM_PROJ_BUILD.setReadonly(true);
justep.xbl("trigger1").setDisabled(true);
$("#trigger1").hide();
}
|
评分
-
查看全部评分
|