Datetools.getcurrentdate ();
Take the Logistics Center quality statement as an example:
Public String edit () {
THIS.WLZXZLBH.SETSDBHRQ (Datetools.getcurrentdate ());//Edit when set to receive the letter of guarantee time for the current time of the system;
return edit_jsp;
}
public void Update () {
map<string, object> resinfo = null;
try{
THIS.WLZXZLBH.SETSDBHRQ (Datetools.getcurrentdate ());//Save edit when set to receive the letter of guarantee time for the current time of the system;
String Realpath = Servletactioncontext.getservletcontext (). Getrealpath (Uploadpath);
WLZXZLBHMANAGER.UPDATEZLBH (Wlzxzlbh,realpath,getattachfile (), Getattachfilefilename (), GetAttachFileContentType ( ));
Resinfo = Resinfo.getresinfo ("", False, False, 2, this. Operate_success, "");
}catch (Exception e) {
E.printstacktrace ();
Resinfo = Resinfo.getresinfo ("", False, False, 1, this. Operate_failed, "");
}
Outxmljson (Resinfo);
}
Wind power platform Acquisition system time