Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
aba6a4f1
Commit
aba6a4f1
authored
Nov 12, 2016
by
季圣华
Browse files
去掉多余的代码,整理数据库表名称
parent
c0faf19b
Changes
15
Hide whitespace changes
Inline
Side-by-side
WebRoot/WEB-INF/classes/com/jsh/model/po/Basicuser.hbm.xml
View file @
aba6a4f1
...
...
@@ -2,7 +2,7 @@
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class
name=
"com.jsh.model.po.Basicuser"
table=
"
ams_t_basic
user"
>
<class
name=
"com.jsh.model.po.Basicuser"
table=
"
jsh_
user"
>
<id
name=
"id"
type=
"java.lang.Long"
>
<column
name=
"id"
/>
<generator
class=
"native"
/>
...
...
WebRoot/WEB-INF/classes/com/jsh/model/po/Depot.hbm.xml
View file @
aba6a4f1
...
...
@@ -2,7 +2,7 @@
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class
name=
"com.jsh.model.po.Depot"
table=
"
ams_t
_depot"
>
<class
name=
"com.jsh.model.po.Depot"
table=
"
jsh
_depot"
>
<id
name=
"id"
type=
"java.lang.Long"
>
<column
name=
"id"
/>
<generator
class=
"native"
/>
...
...
WebRoot/WEB-INF/classes/com/jsh/model/po/Logdetails.hbm.xml
View file @
aba6a4f1
...
...
@@ -2,7 +2,7 @@
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class
name=
"com.jsh.model.po.Logdetails"
table=
"
ams_t_logdetails
"
>
<class
name=
"com.jsh.model.po.Logdetails"
table=
"
jsh_log
"
>
<id
name=
"id"
type=
"java.lang.Long"
>
<column
name=
"id"
/>
<generator
class=
"native"
/>
...
...
WebRoot/WEB-INF/classes/com/jsh/model/po/Measureunit.class
deleted
100644 → 0
View file @
c0faf19b
File deleted
WebRoot/WEB-INF/classes/com/jsh/model/po/Measureunit.hbm.xml
deleted
100644 → 0
View file @
c0faf19b
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class
name=
"com.jsh.model.po.Measureunit"
table=
"ams_t_measureunit"
>
<id
name=
"id"
type=
"java.lang.Long"
>
<column
name=
"id"
/>
<generator
class=
"native"
/>
</id>
<property
name=
"unitname"
type=
"java.lang.String"
>
<column
name=
"unitname"
length=
"30"
not-null=
"true"
>
<comment>
计量名称
</comment>
</column>
</property>
<property
name=
"description"
type=
"java.lang.String"
>
<column
name=
"description"
length=
"500"
>
<comment>
计量描述
</comment>
</column>
</property>
<property
name=
"isystem"
type=
"java.lang.Short"
>
<column
name=
"isystem"
not-null=
"true"
>
<comment>
是否系统自带 0==系统 1==非系统
</comment>
</column>
</property>
</class>
</hibernate-mapping>
WebRoot/WEB-INF/classes/com/jsh/model/po/Supplier.hbm.xml
View file @
aba6a4f1
...
...
@@ -2,7 +2,7 @@
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class
name=
"com.jsh.model.po.Supplier"
table=
"
ams_t
_supplier"
>
<class
name=
"com.jsh.model.po.Supplier"
table=
"
jsh
_supplier"
>
<id
name=
"id"
type=
"java.lang.Long"
>
<column
name=
"id"
/>
<generator
class=
"native"
/>
...
...
WebRoot/WEB-INF/classes/hibernate/hibernate.cfg.xml
View file @
aba6a4f1
...
...
@@ -22,7 +22,6 @@
<!-- 对应的实体映射 -->
<mapping
resource=
"com/jsh/model/po/Supplier.hbm.xml"
/>
<mapping
resource=
"com/jsh/model/po/Measureunit.hbm.xml"
/>
<mapping
resource=
"com/jsh/model/po/Logdetails.hbm.xml"
/>
<mapping
resource=
"com/jsh/model/po/Department.hbm.xml"
/>
<mapping
resource=
"com/jsh/model/po/Assetname.hbm.xml"
/>
...
...
config/hibernate/hibernate.cfg.xml
View file @
aba6a4f1
...
...
@@ -22,7 +22,6 @@
<!-- 对应的实体映射 -->
<mapping
resource=
"com/jsh/model/po/Supplier.hbm.xml"
/>
<mapping
resource=
"com/jsh/model/po/Measureunit.hbm.xml"
/>
<mapping
resource=
"com/jsh/model/po/Logdetails.hbm.xml"
/>
<mapping
resource=
"com/jsh/model/po/Department.hbm.xml"
/>
<mapping
resource=
"com/jsh/model/po/Assetname.hbm.xml"
/>
...
...
readme.txt
deleted
100644 → 0
View file @
c0faf19b
jsh123
src/com/jsh/model/po/Basicuser.hbm.xml
View file @
aba6a4f1
...
...
@@ -2,7 +2,7 @@
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class
name=
"com.jsh.model.po.Basicuser"
table=
"
ams_t_basic
user"
>
<class
name=
"com.jsh.model.po.Basicuser"
table=
"
jsh_
user"
>
<id
name=
"id"
type=
"java.lang.Long"
>
<column
name=
"id"
/>
<generator
class=
"native"
/>
...
...
src/com/jsh/model/po/Depot.hbm.xml
View file @
aba6a4f1
...
...
@@ -2,7 +2,7 @@
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class
name=
"com.jsh.model.po.Depot"
table=
"
ams_t
_depot"
>
<class
name=
"com.jsh.model.po.Depot"
table=
"
jsh
_depot"
>
<id
name=
"id"
type=
"java.lang.Long"
>
<column
name=
"id"
/>
<generator
class=
"native"
/>
...
...
src/com/jsh/model/po/Logdetails.hbm.xml
View file @
aba6a4f1
...
...
@@ -2,7 +2,7 @@
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class
name=
"com.jsh.model.po.Logdetails"
table=
"
ams_t_logdetails
"
>
<class
name=
"com.jsh.model.po.Logdetails"
table=
"
jsh_log
"
>
<id
name=
"id"
type=
"java.lang.Long"
>
<column
name=
"id"
/>
<generator
class=
"native"
/>
...
...
src/com/jsh/model/po/Measureunit.hbm.xml
deleted
100644 → 0
View file @
c0faf19b
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class
name=
"com.jsh.model.po.Measureunit"
table=
"ams_t_measureunit"
>
<id
name=
"id"
type=
"java.lang.Long"
>
<column
name=
"id"
/>
<generator
class=
"native"
/>
</id>
<property
name=
"unitname"
type=
"java.lang.String"
>
<column
name=
"unitname"
length=
"30"
not-null=
"true"
>
<comment>
计量名称
</comment>
</column>
</property>
<property
name=
"description"
type=
"java.lang.String"
>
<column
name=
"description"
length=
"500"
>
<comment>
计量描述
</comment>
</column>
</property>
<property
name=
"isystem"
type=
"java.lang.Short"
>
<column
name=
"isystem"
not-null=
"true"
>
<comment>
是否系统自带 0==系统 1==非系统
</comment>
</column>
</property>
</class>
</hibernate-mapping>
src/com/jsh/model/po/Measureunit.java
deleted
100644 → 0
View file @
c0faf19b
package
com.jsh.model.po
;
import
java.sql.Timestamp
;
@SuppressWarnings
(
"serial"
)
public
class
Measureunit
implements
java
.
io
.
Serializable
{
private
Long
id
;
private
String
unitname
;
private
String
description
;
private
Short
isystem
;
public
Measureunit
()
{
}
public
Measureunit
(
Long
id
)
{
this
.
id
=
id
;
}
public
Measureunit
(
String
unitname
,
Timestamp
createtime
,
Long
creator
,
Timestamp
updatetime
,
Long
updator
,
String
description
,
Short
isystem
)
{
this
.
unitname
=
unitname
;
this
.
description
=
description
;
this
.
isystem
=
isystem
;
}
public
Long
getId
()
{
return
this
.
id
;
}
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
}
public
String
getUnitname
()
{
return
this
.
unitname
;
}
public
void
setUnitname
(
String
unitname
)
{
this
.
unitname
=
unitname
;
}
public
String
getDescription
()
{
return
this
.
description
;
}
public
void
setDescription
(
String
description
)
{
this
.
description
=
description
;
}
public
Short
getIsystem
()
{
return
this
.
isystem
;
}
public
void
setIsystem
(
Short
isystem
)
{
this
.
isystem
=
isystem
;
}
}
\ No newline at end of file
src/com/jsh/model/po/Supplier.hbm.xml
View file @
aba6a4f1
...
...
@@ -2,7 +2,7 @@
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class
name=
"com.jsh.model.po.Supplier"
table=
"
ams_t
_supplier"
>
<class
name=
"com.jsh.model.po.Supplier"
table=
"
jsh
_supplier"
>
<id
name=
"id"
type=
"java.lang.Long"
>
<column
name=
"id"
/>
<generator
class=
"native"
/>
...
...
Write
Preview
Supports
Markdown
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