Commit adabdf89 by 徐澳

时间格式优化

parent 5c5f3163
...@@ -45,15 +45,14 @@ public class ServiceHPPZ002 extends ServiceBase { ...@@ -45,15 +45,14 @@ public class ServiceHPPZ002 extends ServiceBase {
public EiInfo insert(EiInfo inInfo) { public EiInfo insert(EiInfo inInfo) {
try { try {
CommonMethod.creatorInfo(inInfo,EiConstant.resultBlock); CommonMethod.creatorInfo(inInfo,EiConstant.resultBlock);
super.insert(inInfo,"HPPZ002.insert"); THppz002 hppz002 = new THppz002();
// THppz002 hppz002 = new THppz002(); EiBlock eiBlock = inInfo.getBlock(EiConstant.resultBlock);
// EiBlock eiBlock = inInfo.getBlock(EiConstant.resultBlock); for (int i = 0; i < eiBlock.getRowCount(); i++) {
// for (int i = 0; i < eiBlock.getRowCount(); i++) { Map<?, ?> map = eiBlock.getRow(i);
// Map<?, ?> map = eiBlock.getRow(i); hppz002.fromMap(map);
// hppz002.fromMap(map);
// this.dao.insert("HPPZ002.insert", hppz002.toMap());
// this.dao.insert("HPPZ002.insert", hppz002.toMap()); }
// }
inInfo.setStatus(EiConstant.STATUS_SUCCESS); inInfo.setStatus(EiConstant.STATUS_SUCCESS);
inInfo.setMsg("新增成功!"); inInfo.setMsg("新增成功!");
...@@ -74,6 +73,7 @@ public class ServiceHPPZ002 extends ServiceBase { ...@@ -74,6 +73,7 @@ public class ServiceHPPZ002 extends ServiceBase {
*/ */
public EiInfo update(EiInfo inInfo) { public EiInfo update(EiInfo inInfo) {
try { try {
CommonMethod.creatorInfo(inInfo,EiConstant.resultBlock);
THppz002 HPPZ002 = new THppz002(); THppz002 HPPZ002 = new THppz002();
EiBlock eiBlock = inInfo.getBlock(EiConstant.resultBlock); EiBlock eiBlock = inInfo.getBlock(EiConstant.resultBlock);
for (int i = 0; i < eiBlock.getRowCount(); i++) { for (int i = 0; i < eiBlock.getRowCount(); i++) {
......
...@@ -45,15 +45,14 @@ public class ServiceHPPZ004 extends ServiceBase { ...@@ -45,15 +45,14 @@ public class ServiceHPPZ004 extends ServiceBase {
public EiInfo insert(EiInfo inInfo) { public EiInfo insert(EiInfo inInfo) {
try { try {
CommonMethod.creatorInfo(inInfo,EiConstant.resultBlock); CommonMethod.creatorInfo(inInfo,EiConstant.resultBlock);
super.insert(inInfo,"HPPZ004.insert"); THppz004 hppz004 = new THppz004();
// THppz002 hppz002 = new THppz002(); EiBlock eiBlock = inInfo.getBlock(EiConstant.resultBlock);
// EiBlock eiBlock = inInfo.getBlock(EiConstant.resultBlock); for (int i = 0; i < eiBlock.getRowCount(); i++) {
// for (int i = 0; i < eiBlock.getRowCount(); i++) { Map<?, ?> map = eiBlock.getRow(i);
// Map<?, ?> map = eiBlock.getRow(i); hppz004.fromMap(map);
// hppz002.fromMap(map);
// this.dao.insert("HPPZ004.insert", hppz004.toMap());
// this.dao.insert("HPPZ002.insert", hppz002.toMap()); }
// }
inInfo.setStatus(EiConstant.STATUS_SUCCESS); inInfo.setStatus(EiConstant.STATUS_SUCCESS);
inInfo.setMsg("新增成功!"); inInfo.setMsg("新增成功!");
...@@ -74,6 +73,7 @@ public class ServiceHPPZ004 extends ServiceBase { ...@@ -74,6 +73,7 @@ public class ServiceHPPZ004 extends ServiceBase {
*/ */
public EiInfo update(EiInfo inInfo) { public EiInfo update(EiInfo inInfo) {
try { try {
CommonMethod.creatorInfo(inInfo,EiConstant.resultBlock);
THppz004 HPPZ004 = new THppz004(); THppz004 HPPZ004 = new THppz004();
EiBlock eiBlock = inInfo.getBlock(EiConstant.resultBlock); EiBlock eiBlock = inInfo.getBlock(EiConstant.resultBlock);
for (int i = 0; i < eiBlock.getRowCount(); i++) { for (int i = 0; i < eiBlock.getRowCount(); i++) {
......
...@@ -45,15 +45,14 @@ public class ServiceHPPZ006 extends ServiceBase { ...@@ -45,15 +45,14 @@ public class ServiceHPPZ006 extends ServiceBase {
public EiInfo insert(EiInfo inInfo) { public EiInfo insert(EiInfo inInfo) {
try { try {
CommonMethod.creatorInfo(inInfo,EiConstant.resultBlock); CommonMethod.creatorInfo(inInfo,EiConstant.resultBlock);
super.insert(inInfo,"HPPZ006.insert"); THppz006 hppz006 = new THppz006();
// THppz002 hppz002 = new THppz002(); EiBlock eiBlock = inInfo.getBlock(EiConstant.resultBlock);
// EiBlock eiBlock = inInfo.getBlock(EiConstant.resultBlock); for (int i = 0; i < eiBlock.getRowCount(); i++) {
// for (int i = 0; i < eiBlock.getRowCount(); i++) { Map<?, ?> map = eiBlock.getRow(i);
// Map<?, ?> map = eiBlock.getRow(i); hppz006.fromMap(map);
// hppz002.fromMap(map);
// this.dao.insert("HPPZ006.insert", hppz006.toMap());
// this.dao.insert("HPPZ002.insert", hppz002.toMap()); }
// }
inInfo.setStatus(EiConstant.STATUS_SUCCESS); inInfo.setStatus(EiConstant.STATUS_SUCCESS);
inInfo.setMsg("新增成功!"); inInfo.setMsg("新增成功!");
...@@ -74,6 +73,7 @@ public class ServiceHPPZ006 extends ServiceBase { ...@@ -74,6 +73,7 @@ public class ServiceHPPZ006 extends ServiceBase {
*/ */
public EiInfo update(EiInfo inInfo) { public EiInfo update(EiInfo inInfo) {
try { try {
CommonMethod.creatorInfo(inInfo,EiConstant.resultBlock);
THppz006 hppz006 = new THppz006(); THppz006 hppz006 = new THppz006();
EiBlock eiBlock = inInfo.getBlock(EiConstant.resultBlock); EiBlock eiBlock = inInfo.getBlock(EiConstant.resultBlock);
for (int i = 0; i < eiBlock.getRowCount(); i++) { for (int i = 0; i < eiBlock.getRowCount(); i++) {
......
...@@ -46,10 +46,10 @@ ...@@ -46,10 +46,10 @@
<EF:EFOption label="禁用" value="0"></EF:EFOption> <EF:EFOption label="禁用" value="0"></EF:EFOption>
</EF:EFComboColumn> </EF:EFComboColumn>
<EF:EFColumn ename="createdTime" cname="创建时间" readonly="true" width="100" align="center" enable="false" <EF:EFColumn ename="createdTime" cname="创建时间" readonly="true" width="100" align="center" enable="false"
parseFormats="['yyyyMMddHHmmss']" editType="datetime" dateFormat="yyyy-MM-dd HH:mm:ss" hidden ="true" /> parseFormats="['yyyyMMddHHmmss']" editType="datetime" dateFormat="yyyy-MM-dd HH:mm:ss" />
<EF:EFColumn ename="createdBy" cname="创建人" width="100" readonly="true" disabled="true"/> <EF:EFColumn ename="createdBy" cname="创建人" width="100" readonly="true" disabled="true"/>
<EF:EFColumn ename="updatedTime" cname="更新时间" readonly="true" width="100" align="center" enable="false" <EF:EFColumn ename="updatedTime" cname="更新时间" readonly="true" width="100" align="center" enable="false"
parseFormats="['yyyyMMddHHmmss']" editType="datetime" dateFormat="yyyy-MM-dd HH:mm:ss" hidden ="true" /> parseFormats="['yyyyMMddHHmmss']" editType="datetime" dateFormat="yyyy-MM-dd HH:mm:ss" />
<EF:EFColumn ename="updatedBy" cname="更新人" width="100" readonly="true" disabled="true"/> <EF:EFColumn ename="updatedBy" cname="更新人" width="100" readonly="true" disabled="true"/>
</EF:EFGrid> </EF:EFGrid>
</EF:EFRegion> </EF:EFRegion>
......
...@@ -41,10 +41,10 @@ ...@@ -41,10 +41,10 @@
<EF:EFOption label="禁用" value="0"></EF:EFOption> <EF:EFOption label="禁用" value="0"></EF:EFOption>
</EF:EFComboColumn> </EF:EFComboColumn>
<EF:EFColumn ename="createdTime" cname="创建时间" readonly="true" width="100" align="center" enable="false" <EF:EFColumn ename="createdTime" cname="创建时间" readonly="true" width="100" align="center" enable="false"
parseFormats="['yyyyMMddHHmmss']" editType="datetime" dateFormat="yyyy-MM-dd HH:mm:ss" hidden ="true" /> parseFormats="['yyyyMMddHHmmss']" editType="datetime" dateFormat="yyyy-MM-dd HH:mm:ss" />
<EF:EFColumn ename="createdBy" cname="创建人" width="100" readonly="true" disabled="true"/> <EF:EFColumn ename="createdBy" cname="创建人" width="100" readonly="true" disabled="true"/>
<EF:EFColumn ename="updatedTime" cname="更新时间" readonly="true" width="100" align="center" enable="false" <EF:EFColumn ename="updatedTime" cname="更新时间" readonly="true" width="100" align="center" enable="false"
parseFormats="['yyyyMMddHHmmss']" editType="datetime" dateFormat="yyyy-MM-dd HH:mm:ss" hidden ="true" /> parseFormats="['yyyyMMddHHmmss']" editType="datetime" dateFormat="yyyy-MM-dd HH:mm:ss" />
<EF:EFColumn ename="updatedBy" cname="更新人" width="100" readonly="true" disabled="true"/> <EF:EFColumn ename="updatedBy" cname="更新人" width="100" readonly="true" disabled="true"/>
</EF:EFGrid> </EF:EFGrid>
</EF:EFRegion> </EF:EFRegion>
......
...@@ -9,7 +9,10 @@ ...@@ -9,7 +9,10 @@
<EF:EFRegion id="inqu" title="查询条件"> <EF:EFRegion id="inqu" title="查询条件">
<div class="row"> <div class="row">
<EF:EFInput ename="inqu_status-0-inventName" cname="存货名称" colWidth="4" readonly="false"/> <EF:EFSelect ename="inqu_status-0-inventName" cname="存货名称" colWidth="4">
<EF:EFOption label="--请选择--" value=""/>
<EF:EFOption label="待定" value="1"></EF:EFOption>
</EF:EFSelect>
<EF:EFSelect ename="inqu_status-0-inventType" cname="存货类型" colWidth="4"> <EF:EFSelect ename="inqu_status-0-inventType" cname="存货类型" colWidth="4">
<EF:EFOption label="--请选择--" value=""/> <EF:EFOption label="--请选择--" value=""/>
<EF:EFOption label="待定" value="1"></EF:EFOption> <EF:EFOption label="待定" value="1"></EF:EFOption>
...@@ -26,8 +29,18 @@ ...@@ -26,8 +29,18 @@
<EF:EFGrid blockId="result" autoDraw="false" isFloat="true" autoFit="true"> <EF:EFGrid blockId="result" autoDraw="false" isFloat="true" autoFit="true">
<EF:EFColumn ename="id" cname="内码" hidden="true"/> <EF:EFColumn ename="id" cname="内码" hidden="true"/>
<EF:EFColumn ename="inventCode" cname="存货编码" width="100" readonly="false" required="true"/> <EF:EFComboColumn ename="inventCode" cname="存货编码" align="center" columnTemplate="#=valueField#-#=textField#" optionLabel=" "
<EF:EFColumn ename="inventName" cname="存货名称" width="100" readonly="false" required="true"/> itemTemplate="#=valueField#-#=textField#" textField="textField"
valueField="valueField" width="100" required="true">
<EF:EFOption label="--请选择--" value=""></EF:EFOption>
<EF:EFOption label="待定" value="1"></EF:EFOption>
</EF:EFComboColumn>
<EF:EFComboColumn ename="inventName" cname="存货名称" align="center" columnTemplate="#=valueField#-#=textField#" optionLabel=" "
itemTemplate="#=valueField#-#=textField#" textField="textField"
valueField="valueField" width="100" required="true">
<EF:EFOption label="--请选择--" value=""></EF:EFOption>
<EF:EFOption label="待定" value="1"></EF:EFOption>
</EF:EFComboColumn>
<EF:EFComboColumn ename="inventType" cname="存货类型" align="center" columnTemplate="#=valueField#-#=textField#" optionLabel=" " <EF:EFComboColumn ename="inventType" cname="存货类型" align="center" columnTemplate="#=valueField#-#=textField#" optionLabel=" "
itemTemplate="#=valueField#-#=textField#" textField="textField" itemTemplate="#=valueField#-#=textField#" textField="textField"
valueField="valueField" width="100" required="true"> valueField="valueField" width="100" required="true">
...@@ -49,10 +62,10 @@ ...@@ -49,10 +62,10 @@
<EF:EFOption label="禁用" value="0"></EF:EFOption> <EF:EFOption label="禁用" value="0"></EF:EFOption>
</EF:EFComboColumn> </EF:EFComboColumn>
<EF:EFColumn ename="createdTime" cname="创建时间" readonly="true" width="100" align="center" enable="false" <EF:EFColumn ename="createdTime" cname="创建时间" readonly="true" width="100" align="center" enable="false"
parseFormats="['yyyyMMddHHmmss']" editType="datetime" dateFormat="yyyy-MM-dd HH:mm:ss" hidden ="true" /> parseFormats="['yyyyMMddHHmmss']" editType="datetime" dateFormat="yyyy-MM-dd HH:mm:ss" />
<EF:EFColumn ename="createdBy" cname="创建人" width="100" readonly="true" disabled="true"/> <EF:EFColumn ename="createdBy" cname="创建人" width="100" readonly="true" disabled="true"/>
<EF:EFColumn ename="updatedTime" cname="更新时间" readonly="true" width="100" align="center" enable="false" <EF:EFColumn ename="updatedTime" cname="更新时间" readonly="true" width="100" align="center" enable="false"
parseFormats="['yyyyMMddHHmmss']" editType="datetime" dateFormat="yyyy-MM-dd HH:mm:ss" hidden ="true" /> parseFormats="['yyyyMMddHHmmss']" editType="datetime" dateFormat="yyyy-MM-dd HH:mm:ss" />
<EF:EFColumn ename="updatedBy" cname="更新人" width="100" readonly="true" disabled="true"/> <EF:EFColumn ename="updatedBy" cname="更新人" width="100" readonly="true" disabled="true"/>
</EF:EFGrid> </EF:EFGrid>
</EF:EFRegion> </EF:EFRegion>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment