上一页 1 2 3 4 5 6 ··· 9 下一页
摘要: 转自:https://blog.csdn.net/lisheng19870305/article/details/126351901 -- 当月第一天select dateadd(month, datediff(month, 0, getdate()), 0) -- 当月最后一天(思路:下月的第一天 阅读全文
posted @ 2023-04-03 11:17 AaronLi 阅读(964) 评论(0) 推荐(0)
摘要: 转自:https://www.likecs.com/show-307635043.html 1、Excel生成guid,uuid 格式:600d65bc-948a-1260-2217-fd8dfeebb1cd =LOWER(CONCATENATE(DEC2HEX(RANDBETWEEN(0,POWE 阅读全文
posted @ 2023-03-27 16:27 AaronLi 阅读(1585) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2023-03-17 16:42 AaronLi 阅读(137) 评论(0) 推荐(0)
摘要: 1.判断 正式表或者存储过程是否存在 select * from dbo.sysobjects where id=OBJECT_ID(N'dbo.Users') and type='U' --U表示表 select * from dbo.sysobjects where id= object_id( 阅读全文
posted @ 2023-02-02 09:42 AaronLi 阅读(224) 评论(0) 推荐(0)
摘要: int rowIndex; private void GroupHeader1_AfterPrint(object sender, System.EventArgs e) { rowIndex = 0; } private void tableCell1_PrintOnPage(object sen 阅读全文
posted @ 2022-10-17 15:04 AaronLi 阅读(143) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-10-08 15:50 AaronLi 阅读(154) 评论(0) 推荐(0)
摘要: Context['ITEM'].GetEntityProperty('ITEM_NAME','ITEM_ID',ActiveObject.ITEM_ID) if not IsEmpty(ActiveObject.ITEM_ID) else 'false' 7.GetSumProperty(path, 阅读全文
posted @ 2022-09-14 10:16 AaronLi 阅读(672) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-09-05 15:55 AaronLi 阅读(127) 评论(0) 推荐(0)
摘要: Context.SqlValidate (“SQL语句”,参数列表,参数值列表) 举例: 工单单头“生产批号”字段在维护的时候校验是否存在工单状态是未生产,已发料,生产中的工单引用过该生产批号,如果引用过给警告会保存。 not IsEmpty(ActiveObject.ITEM_LOT_ID) an 阅读全文
posted @ 2022-09-05 15:35 AaronLi 阅读(402) 评论(0) 推荐(0)
摘要: GetMaxProperty(path,取值字段,参数列表,参数值列表) 举例: 【维护销售订单】单身加入虚字段“最高报价” Context['QUOTATION'].GetMaxProperty('QUOTATION_D','PRICE',('ITEM_ID','ITEM_FEATURE_ID', 阅读全文
posted @ 2022-09-05 15:22 AaronLi 阅读(173) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 9 下一页