最近在修改采购订单form的时候,发现采购订单form往数据库中插数据的地方找不到,程序太多。我们又需要根据界面上的item的值在订单界面数据生成数据库数据时插值时,只能是想其他办法,一种是在on-insert触发器上加上自己 的插值处理程序,这并不会影响正常订单数据的插入,但在on-insert时界面上相关的各种关联id(如header_id,line_id等)是没数据的,所有有时这样也不满足需...
分类:
其他好文 时间:
2014-08-26 00:32:35
阅读次数:
263
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).The robot can only move either down or right at any po...
分类:
其他好文 时间:
2014-08-25 20:43:44
阅读次数:
237
一:关系维护 --->inverse默认值false,表示不放弃关系的维护。 --->inverse="true"配置在那一端,表示那一端xml对应的po放弃关系的维护(交由hibernate内部进行维护),由另一端进行关系维护。例子:学生班级模型【多对一模型】一端放弃关系的维护,由学生端进...
分类:
系统相关 时间:
2014-08-25 11:48:34
阅读次数:
346
[Po and Shifu are racing each other up the palace stairs.]SHIFU:Are you ready?PO:Ready's my middle name![Po speeds off ahead, and beats Shifu to their...
分类:
其他好文 时间:
2014-08-25 09:52:14
阅读次数:
354
今天说说菜单 工具条 右键菜单吧,总的来说这些东西其实就是同一个东西。以前我们在做插件的时候遇到右键菜单啊,菜单什么的都会习惯性地去用actionSets这个拓展点。不过现在官方却把这个扩展点已经被deprecated弃用了。。官方的说明:Do not use this extension po.....
分类:
其他好文 时间:
2014-08-25 01:04:13
阅读次数:
239
PO :persistent object持久对象 1 .有时也被称为Data对象,对应数据库中的entity,可以简单认为一个PO对应数据库中的一条记录。2 .在hibernate持久化框架中与insert/delet操作密切相关。 3 .PO中不应该包含任何对数据库的操作。 ----------...
分类:
Web程序 时间:
2014-08-24 22:13:43
阅读次数:
201
update Po_Header set total_fee = ( select ip.payment-ip.post_fee from po_header ip where ip.po_header_id = po_Header_Id)where Trade_ID in( s...
分类:
数据库 时间:
2014-08-24 00:17:51
阅读次数:
278
简单用法: #include using namespace __gnu_cxx;int a[1000];rope x;rope x(a,a + n);rope a(x);x->at(10);x[10];x->push_back(x) // 在末尾添加xx->insert(pos,x) // 在po...
分类:
其他好文 时间:
2014-08-21 20:58:24
阅读次数:
391
一、多态的缺陷
1、覆盖私有方法
public class PrivateOverride{
private void f(){
print("private f()");
}
public static void main(String args[]){
PrivateOverride po=new Derived();
po.f();
}
}
class Derived extends...
分类:
编程语言 时间:
2014-08-21 17:17:54
阅读次数:
172
在宿主机里删除一个虚拟机关联的网卡、端口及桥1)、用ovs-vsctl命令查看宿主机的所有的桥信息[root@os-node4~]#ovs-vsctlshow169dc0d6-0c44-42df-9bd5-5e1f380a8704Bridgebr-intPortint-br-intInterfaceint-br-intPortphy-br-intInterfacephy-br-intPort"em2"Interface"em2"Po..
分类:
其他好文 时间:
2014-08-21 15:15:24
阅读次数:
321