Time of Update: 2018-12-04
// 1、單據ID或選中的一批單據ID的集合 Set dataIds = new HashSet();//null改成有意義的單據ID集合。 dataIds.add(editData.getString("id"));// 2、主要資料源(單據)的預設中繼資料PK IMetaDataPK billPk =
Time of Update: 2018-12-04
IMutexServiceControl mutexServiceControl = FrameWorkClientUtils.createMutexServiceControl(); try { Map map = mutexServiceControl.batchRequestObjIDForUpdate(ids); Iterator lt = ids.iterator(); while (lt.hasNext()) {
Time of Update: 2018-12-04
String queryName = null; String mappingFieldName = this.asstActTypeInfo.getAsstHGAttribute(); if (this.cbxAssistant.isSelected()) queryName = "com.kingdee.eas.fi.gr.dynamic.app.CompanyOrgUnit4AsstAcctQuery"; else if
Time of Update: 2018-12-04
替換jar 包下面的class 檔案,很多人會想到直接用winrar 開啟替換,在一般的情況下,是可行的,但是如果說這個jar 的代碼經過混淆後,會有大小寫不同,檔案名稱是相同的,在windos下檔案名稱是不區分大小寫。如果直接用winrar替換的話,你會發現,替換的並非是你想替換的那個檔案。現在有2中可以行的方案:1 在Linux下把jar包解壓,替換,打成jar。這樣比較麻煩,這windos還不能用。2 可以直接用Java jar 工具來替換。jar uvf test.jar
Time of Update: 2018-12-04
行行走走,走走停停。 於生命的三岔口,總是難以抉擇。我不知道該向左、向右,還是原路直前。沒有對沒有錯,不知道是好是壞,在迷茫中彷徨、掙紮,不知所終。經曆了許多反反覆複的情緒,越過了重重疊疊的悲傷,於糾結中浮浮沉沉地成長,直至走進蒼白的年華,才發覺,留不住太多匆匆流逝的歲月;回首時,那份昨日的悲涼與喜悅,已成過往雲煙。 慈航大師說:“只要自覺心安,東西南北都好。”是呀,世間萬物萬緣泛生,紛紛攘攘,無時或了;只要心安理得,哪怕置身荒山野幕,一樣都能悠然自得。
Time of Update: 2018-12-04
const char *dir = NULL; GtkWidget *dialog; GtkWidget *prefs_dialog = glade_xml_get_widget (xml, "prefs_dialog"); dialog = gtk_file_chooser_dialog_new (_("Select your photo directory:"), GTK_WINDOW(prefs_dialog),
Time of Update: 2018-12-04
一般的說看鏡頭的好壞一般就是看光圈是否恒定和焦段是否合理一、焦距,焦距變化則導致對角線視角發生變化,焦距越短,視角越廣,焦距越長,視角越窄。如果一隻鏡頭只有一個固定的焦距,比如EF 50mm f/1.8,那麼它就是定焦頭。一般焦距範圍越短為越好,公式:大變焦<小變焦<定焦魚眼 14mm 大情境、創作專用,拍出來變形很厲害,魚的眼睛看東西一樣。超廣角16mm-28mm 風光攝影、情境、創作專用 多少有點變形,畫面涵蓋範圍廣廣角28mm-50mm
Time of Update: 2018-12-04
#include <stdio.h>#include <unistd.h>#define VAR_FILE "/tmp/xxxx.pid"void destroy_var(){ unlink(VAR_FILE);}void create_var(){ FILE *fp = NULL; if ((fp = fopen(VAR_FILE, "w")) != NULL) { fprintf(fp, "%d/n", getpid());
Time of Update: 2018-12-04
動態指定 通用查詢面板上的最大返回記錄數@Overrideprotected CommonQueryDialog initCommonQueryDialog() {CommonQueryDialog dialog = super.initCommonQueryDialog();if (dialog != null && dialog.getCurrentSolutionInfo() != null)
Time of Update: 2018-12-04
對於每個類型擁有的值範圍以及並且指定日期何時間值的有效格式的描述見7.3.6 日期和時間類型。 這裡是一個使用日期函數的例子。下面的查詢選擇了所有記錄,其date_col的值是在最後30天以內: mysql> select something from table where to_days(now()) - to_days(date_col) <= 30; dayofweek(date)
Time of Update: 2018-12-04
http://www.cplusplus.com/reference/algorithm/for_each/#include <iostream>#include <list>#include <algorithm>using namespace std;template <class T>void print(T &t){cout<<t;}template <class T>class
Time of Update: 2018-12-04
HashTable 應用樣本static const char *maybe_translate_message (const char *msg){ char *s; const char *ret; static GHashTable *hash = NULL; if (hash == NULL) { hash = g_hash_table_new
Time of Update: 2018-12-04
After reading Jay Pipes "Getting a Working C/C++ Development Environment for Developing Drizzle", I follow his guide and success getting a Development Workspace for myself. I think this experience is important for us setting our open source project
Time of Update: 2018-12-04
> > > Hi, thanks response quickly!> > > I thank maybe i did't say more clear. I mean that last_sequence_delivered and strmseq are uint16_t type in all FreeBSD branches.> > > my worry is that:if last_sequence_delivered
Time of Update: 2018-12-04
不知道為什麼,慢慢的總想讓自己沉默,把想法逐漸的裝滿在心裡,靜靜地醞釀思考。想著怎樣才能讓自己的思想變得更成熟不再膚淺,有時有一些彷徨,但總算還能不迷失方向。未來.........這個詞在我心裡就變得不再輕鬆,當然也充滿期待。不斷警醒自己,墮落是永遠都不會有那個詞的。進入大學這麼久,好久好久都沒寫些什麼,想寫的時候覺得還是沒怎麼想明白,想得明白一點的時候感覺又不需要寫什麼,就這樣習慣了在心裡。沉靜下來,想想自己,繼續往前走。深邃的思想源於不斷的思考,於是也成了習慣。大學,是自己在裡面尋找著自己的
Time of Update: 2018-12-04
public static void requestPureMutex(List idList) throws EASBizException { IMutexServiceControl mutexServiceControl = FrameWorkClientUtils.createMutexServiceControl(); String userName = SysContext.getSysContext().getUserName();
Time of Update: 2018-12-04
XModeler是本人近兩年前寫的一個小工具,這次為配合<大衛的Design
Time of Update: 2018-12-04
public KDBizPromptBox getMaterialF7ForReportFilterUI() { KDBizPromptBox kDBizPromptBoxMaterial = new KDBizPromptBox(); kDBizPromptBoxMaterial.setEditable(true); kDBizPromptBoxMaterial.setDisplayFormat("$number$");
Time of Update: 2018-12-04
下面的代碼實現在圖片上添加橙色外邊框的效果(選中效果) PHOTO_WIDTH、PHOTO_HEIGHT分別代表圖片高度和寬度(包括橙色邊框) PHOTO_LINE_WIDTH代表橙色邊框的寬度 pName是圖片名 //由檔案產生除去橙色邊框的源pixbuf rel_pixbuf = gdk_pixbuf_new_from_file_at_scale (pName, PHOTO_WIDTH - 2*PHOTO_LINE_WIDTH,
Time of Update: 2018-12-04
203 /*204 * min()/max() macros that also do205 * strict type-checking.. See the136206 * "unnecessary" pointer comparison.207 */208 #define min(x,y) ({ /209 typeof(x) _x = (x); /210 typeof(y) _y = (y); /211 (void) (&_x == &_y); /212 _x <