Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
kwell-mes
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gavelinfo
kwell-mes
Commits
678cd4ab
Commit
678cd4ab
authored
Mar 28, 2022
by
yff
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
排产计划修改
parent
d5163578
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
9 deletions
+14
-9
PcjhkDaoImpl.java
.../src/main/java/com/gavel/kwell/dao/impl/PcjhkDaoImpl.java
+1
-1
PcjhmxkDaoImpl.java
...rc/main/java/com/gavel/kwell/dao/impl/PcjhmxkDaoImpl.java
+1
-1
Pcjhk.java
gavel/src/main/java/com/gavel/kwell/persistent/Pcjhk.java
+4
-1
Pcjhmxk.java
gavel/src/main/java/com/gavel/kwell/persistent/Pcjhmxk.java
+3
-1
jdbc.properties
gavel/src/main/resources/jdbc.properties
+1
-1
edit.html
gavel/src/main/resources/templates/views/wo/pcjhk/edit.html
+4
-4
No files found.
gavel/src/main/java/com/gavel/kwell/dao/impl/PcjhkDaoImpl.java
View file @
678cd4ab
...
@@ -20,7 +20,7 @@ public class PcjhkDaoImpl extends BaseDaoImpl implements PcjhkDao {
...
@@ -20,7 +20,7 @@ public class PcjhkDaoImpl extends BaseDaoImpl implements PcjhkDao {
SqlMap
sqlMap
=
new
SqlMap
();
SqlMap
sqlMap
=
new
SqlMap
();
sqlMap
.
setPageNo
(
condition
.
getPageNo
());
sqlMap
.
setPageNo
(
condition
.
getPageNo
());
sqlMap
.
setRowCount
(
condition
.
getPageSize
());
sqlMap
.
setRowCount
(
condition
.
getPageSize
());
sqlMap
.
append
(
"select PCJH_ID, PCJH_DJID, PCJH_JHRQ,PCJH_JSRQ, PCJH_BMID, PCJH_JHR, "
);
sqlMap
.
append
(
"select PCJH_ID, PCJH_DJID, PCJH_JHRQ,
U_
PCJH_JSRQ, PCJH_BMID, PCJH_JHR, "
);
sqlMap
.
append
(
" PCJH_DJLY, PCJH_BZ, PCJH_WHRID, PCJH_WHR, PCJH_WHSJ, "
);
sqlMap
.
append
(
" PCJH_DJLY, PCJH_BZ, PCJH_WHRID, PCJH_WHR, PCJH_WHSJ, "
);
sqlMap
.
append
(
" PCJH_CJRID, PCJH_CJR, PCJH_CJSJ, PCJH_SYSVERSION,BM_CODE, BM_NAME "
);
sqlMap
.
append
(
" PCJH_CJRID, PCJH_CJR, PCJH_CJSJ, PCJH_SYSVERSION,BM_CODE, BM_NAME "
);
sqlMap
.
append
(
"from PCJH "
);
sqlMap
.
append
(
"from PCJH "
);
...
...
gavel/src/main/java/com/gavel/kwell/dao/impl/PcjhmxkDaoImpl.java
View file @
678cd4ab
...
@@ -18,7 +18,7 @@ public class PcjhmxkDaoImpl extends BaseDaoImpl implements PcjhmxkDao {
...
@@ -18,7 +18,7 @@ public class PcjhmxkDaoImpl extends BaseDaoImpl implements PcjhmxkDao {
SqlMap
sqlMap
=
new
SqlMap
();
SqlMap
sqlMap
=
new
SqlMap
();
sqlMap
.
setPageNo
(
condition
.
getPageNo
());
sqlMap
.
setPageNo
(
condition
.
getPageNo
());
sqlMap
.
setRowCount
(
condition
.
getPageSize
());
sqlMap
.
setRowCount
(
condition
.
getPageSize
());
sqlMap
.
append
(
"select PCJHMX_ID, PCJHMX_MID, PCJHMX_XH, PCJHMX_WOID,
PCJHMX_JHRQ,PCJHMX_JSRQ,
"
);
sqlMap
.
append
(
"select PCJHMX_ID, PCJHMX_MID, PCJHMX_XH, PCJHMX_WOID,
U_PCJHMX_JSRQ,PCJHMX_JHRQ,
"
);
sqlMap
.
append
(
" PCJHMX_WLID, PCJHMX_JHSL, PCJHMX_WGSL, PCJHMX_HGSL, PCJHMX_BHGSL, "
);
sqlMap
.
append
(
" PCJHMX_WLID, PCJHMX_JHSL, PCJHMX_WGSL, PCJHMX_HGSL, PCJHMX_BHGSL, "
);
sqlMap
.
append
(
" PCJHMX_BZ, PCJHMX_WHRID, PCJHMX_WHR, PCJHMX_WHSJ, PCJHMX_CJRID, "
);
sqlMap
.
append
(
" PCJHMX_BZ, PCJHMX_WHRID, PCJHMX_WHR, PCJHMX_WHSJ, PCJHMX_CJRID, "
);
sqlMap
.
append
(
" PCJHMX_CJR, PCJHMX_CJSJ, PCJHMX_SYSVERSION, "
);
sqlMap
.
append
(
" PCJHMX_CJR, PCJHMX_CJSJ, PCJHMX_SYSVERSION, "
);
...
...
gavel/src/main/java/com/gavel/kwell/persistent/Pcjhk.java
View file @
678cd4ab
...
@@ -3,11 +3,14 @@ package com.gavel.kwell.persistent;
...
@@ -3,11 +3,14 @@ package com.gavel.kwell.persistent;
import
java.util.Date
;
import
java.util.Date
;
import
com.gavel.persistence.annotation.FieldMeta
;
import
com.gavel.persistence.annotation.FieldMeta
;
import
com.gavel.persistence.annotation.TableMeta
;
import
com.gavel.wo.persistent.Pcjh
;
import
com.gavel.wo.persistent.Pcjh
;
@TableMeta
(
id
=
"PCJH"
,
name
=
"PCJH"
)
public
class
Pcjhk
extends
Pcjh
{
public
class
Pcjhk
extends
Pcjh
{
private
static
final
long
serialVersionUID
=
1234567890L
;
private
static
final
long
serialVersionUID
=
1234567890L
;
@FieldMeta
(
fieldName
=
"PCJH_JSRQ"
,
caption
=
"计划结束日期"
)
@FieldMeta
(
fieldName
=
"
U_
PCJH_JSRQ"
,
caption
=
"计划结束日期"
)
private
Date
jsrq
;
private
Date
jsrq
;
public
Date
getJsrq
()
{
public
Date
getJsrq
()
{
...
...
gavel/src/main/java/com/gavel/kwell/persistent/Pcjhmxk.java
View file @
678cd4ab
...
@@ -3,12 +3,14 @@ package com.gavel.kwell.persistent;
...
@@ -3,12 +3,14 @@ package com.gavel.kwell.persistent;
import
java.util.Date
;
import
java.util.Date
;
import
com.gavel.persistence.annotation.FieldMeta
;
import
com.gavel.persistence.annotation.FieldMeta
;
import
com.gavel.persistence.annotation.TableMeta
;
import
com.gavel.wo.persistent.Pcjhmx
;
import
com.gavel.wo.persistent.Pcjhmx
;
@TableMeta
(
id
=
"PCJHMX"
,
name
=
"PCJHMX"
)
public
class
Pcjhmxk
extends
Pcjhmx
{
public
class
Pcjhmxk
extends
Pcjhmx
{
private
static
final
long
serialVersionUID
=
1234567890L
;
private
static
final
long
serialVersionUID
=
1234567890L
;
@FieldMeta
(
fieldName
=
"PCJHMX_JSRQ"
,
caption
=
"计划结束日期"
)
@FieldMeta
(
fieldName
=
"
U_
PCJHMX_JSRQ"
,
caption
=
"计划结束日期"
)
private
Date
jsrq
;
private
Date
jsrq
;
public
Date
getJsrq
()
{
public
Date
getJsrq
()
{
...
...
gavel/src/main/resources/jdbc.properties
View file @
678cd4ab
# erp测试环境
# erp测试环境
jdbc.driverClassName
=
com.mysql.cj.jdbc.Driver
jdbc.driverClassName
=
com.mysql.cj.jdbc.Driver
jdbc.url
=
jdbc:mysql://
localhost:3306/kwell
?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
jdbc.url
=
jdbc:mysql://
192.168.30.254:3306/kewll2
?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
jdbc.username
=
root
jdbc.username
=
root
jdbc.password
=
root
jdbc.password
=
root
...
...
gavel/src/main/resources/templates/views/wo/pcjhk/edit.html
View file @
678cd4ab
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
<div
class=
"gui-col-sm3"
>
<div
class=
"gui-col-sm3"
>
<label
class=
"gui-form-label"
>
开始日期:
</label>
<label
class=
"gui-form-label"
>
开始日期:
</label>
<div
class=
"gui-input-block"
>
<div
class=
"gui-input-block"
>
<input
type=
"text"
name=
"
ks
rq"
data-toggle=
"gui-datebox"
data-options=
"required:true,disabled:true"
>
<input
type=
"text"
name=
"
jh
rq"
data-toggle=
"gui-datebox"
data-options=
"required:true,disabled:true"
>
</div>
</div>
</div>
</div>
<div
class=
"gui-col-sm3"
>
<div
class=
"gui-col-sm3"
>
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
$
(
function
()
{
$
(
function
()
{
var
$div
=
$
(
'#woPcjhkEdit'
);
var
$div
=
$
(
'#woPcjhkEdit'
);
var
$datagrid
=
$
(
'#bzEditPcjhmxk'
);
var
$datagrid
=
$
(
'#bzEditPcjhmxk'
);
var
$datksrq
=
$div
.
find
(
'input[name="
ks
rq"]'
);
var
$datksrq
=
$div
.
find
(
'input[name="
jh
rq"]'
);
var
$datjsrq
=
$div
.
find
(
'input[name="jsrq"]'
);
var
$datjsrq
=
$div
.
find
(
'input[name="jsrq"]'
);
var
$cbxBmid
=
$div
.
find
(
'input[name="bmid"]'
);
var
$cbxBmid
=
$div
.
find
(
'input[name="bmid"]'
);
var
$datWhsj
=
$div
.
find
(
'input[name="whsj"]'
);
var
$datWhsj
=
$div
.
find
(
'input[name="whsj"]'
);
...
@@ -119,7 +119,7 @@
...
@@ -119,7 +119,7 @@
var
columns
=
[
var
columns
=
[
{
title
:
"序号"
,
field
:
"xh"
,
fieldType
:
"ftString"
,
width
:
70
},
{
title
:
"序号"
,
field
:
"xh"
,
fieldType
:
"ftString"
,
width
:
70
},
{
title
:
"生产单号"
,
field
:
"woDjid"
,
fieldType
:
"ftString"
,
width
:
120
},
{
title
:
"生产单号"
,
field
:
"woDjid"
,
fieldType
:
"ftString"
,
width
:
120
},
{
title
:
"开始日期"
,
field
:
"
ks
rq"
,
fieldType
:
"date"
{
title
:
"开始日期"
,
field
:
"
jh
rq"
,
fieldType
:
"date"
},
},
{
title
:
"结束日期"
,
field
:
"jsrq"
,
fieldType
:
"date"
{
title
:
"结束日期"
,
field
:
"jsrq"
,
fieldType
:
"date"
// , editor: {
// , editor: {
...
@@ -184,7 +184,7 @@
...
@@ -184,7 +184,7 @@
item
[
'woid'
]
=
item
[
'id'
];
item
[
'woid'
]
=
item
[
'id'
];
item
[
'woDjid'
]
=
item
[
'djid'
];
item
[
'woDjid'
]
=
item
[
'djid'
];
item
[
'jhsl'
]
=
item
[
'xqsl'
];
item
[
'jhsl'
]
=
item
[
'xqsl'
];
item
[
'
ks
rq'
]
=
woksrq
item
[
'
jh
rq'
]
=
woksrq
item
[
'jsrq'
]
=
wojsrq
item
[
'jsrq'
]
=
wojsrq
item
[
'xh'
]
=
xh
+
1
;
item
[
'xh'
]
=
xh
+
1
;
delete
item
[
"id"
];
delete
item
[
"id"
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment