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
227cf3b2
Commit
227cf3b2
authored
Dec 04, 2016
by
季圣华
Browse files
优化界面,给商品和单位模块增加了部分字段
parent
c8f80894
Changes
93
Hide whitespace changes
Inline
Side-by-side
src/com/jsh/dao/basic/VisitAccountIDAO.java
deleted
100644 → 0
View file @
c8f80894
package
com.jsh.dao.basic
;
import
com.jsh.base.BaseIDAO
;
import
com.jsh.model.po.VisitAccount
;
public
interface
VisitAccountIDAO
extends
BaseIDAO
<
VisitAccount
>
{
}
src/com/jsh/model/po/Material.hbm.xml
View file @
227cf3b2
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<hibernate-mapping>
<class
name=
"com.jsh.model.po.Material"
table=
"jsh_material"
>
<class
name=
"com.jsh.model.po.Material"
table=
"jsh_material"
>
<id
name=
"Id"
type=
"java.lang.Long"
>
<id
name=
"Id"
type=
"java.lang.Long"
>
<column
name=
"Id"
/>
<column
name=
"Id"
/>
<generator
class=
"native"
/>
<generator
class=
"native"
/>
</id>
</id>
<many-to-one
name=
"materialCategory"
class=
"com.jsh.model.po.MaterialCategory"
lazy=
"false"
>
<many-to-one
name=
"materialCategory"
class=
"com.jsh.model.po.MaterialCategory"
lazy=
"false"
>
<column
name=
"CategoryId"
/>
<column
name=
"CategoryId"
/>
</many-to-one>
</many-to-one>
<property
generated=
"never"
lazy=
"false"
name=
"Name"
type=
"java.lang.String"
>
<property
generated=
"never"
lazy=
"false"
name=
"Name"
type=
"java.lang.String"
>
<column
length=
"50"
name=
"Name"
>
<column
length=
"50"
name=
"Name"
>
<comment>
名称
</comment>
<comment>
名称
</comment>
</column>
</column>
</property>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"Model"
type=
"java.lang.String"
>
<property
generated=
"never"
lazy=
"false"
name=
"Model"
type=
"java.lang.String"
>
<column
length=
"50"
name=
"Model"
>
<column
length=
"50"
name=
"Model"
>
<comment>
型号
</comment>
<comment>
型号
</comment>
</column>
</column>
</property>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"Color"
type=
"java.lang.String"
>
<property
generated=
"never"
lazy=
"false"
name=
"Color"
type=
"java.lang.String"
>
<column
length=
"50"
name=
"Color"
>
<column
length=
"50"
name=
"Color"
>
<comment>
颜色
</comment>
<comment>
颜色
</comment>
</column>
</column>
</property>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"Unit"
type=
"java.lang.String"
>
<property
generated=
"never"
lazy=
"false"
name=
"Unit"
type=
"java.lang.String"
>
<column
length=
"50"
name=
"Unit"
>
<column
length=
"50"
name=
"Unit"
>
<comment>
单位
</comment>
<comment>
单位
</comment>
</column>
</column>
</property>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"Remark"
type=
"java.lang.String"
>
<property
generated=
"never"
lazy=
"false"
name=
"RetailPrice"
type=
"java.lang.Double"
>
<column
length=
"100"
name=
"Remark"
>
<column
name=
"RetailPrice"
precision=
"22"
scale=
"3"
>
<comment>
备注
</comment>
<comment>
零售价
</comment>
</column>
</column>
</property>
</property>
</class>
<property
generated=
"never"
lazy=
"false"
name=
"LowPrice"
type=
"java.lang.Double"
>
</hibernate-mapping>
<column
name=
"LowPrice"
precision=
"22"
scale=
"3"
>
<comment>
最低售价
</comment>
</column>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"PresetPriceOne"
type=
"java.lang.Double"
>
<column
name=
"PresetPriceOne"
precision=
"22"
scale=
"3"
>
<comment>
预设售价一
</comment>
</column>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"PresetPriceTwo"
type=
"java.lang.Double"
>
<column
name=
"PresetPriceTwo"
precision=
"22"
scale=
"3"
>
<comment>
预设售价二
</comment>
</column>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"Remark"
type=
"java.lang.String"
>
<column
length=
"100"
name=
"Remark"
>
<comment>
备注
</comment>
</column>
</property>
</class>
</hibernate-mapping>
src/com/jsh/model/po/Material.java
View file @
227cf3b2
package
com.jsh.model.po
;
package
com.jsh.model.po
;
@SuppressWarnings
(
"serial"
)
@SuppressWarnings
(
"serial"
)
public
class
Material
implements
java
.
io
.
Serializable
public
class
Material
implements
java
.
io
.
Serializable
{
{
private
Long
Id
;
private
Long
Id
;
private
MaterialCategory
materialCategory
;
private
MaterialCategory
materialCategory
;
private
String
Name
;
private
String
Name
;
private
String
Model
;
private
String
Model
;
private
String
Color
;
private
String
Color
;
private
String
Unit
;
private
String
Unit
;
private
String
Remark
;
private
Double
RetailPrice
;
private
Double
LowPrice
;
public
Material
()
private
Double
PresetPriceOne
;
{
private
Double
PresetPriceTwo
;
private
String
Remark
;
}
public
Material
()
public
Material
(
Long
Id
)
{
{
this
.
Id
=
Id
;
}
}
public
Material
(
Long
Id
)
public
Material
(
MaterialCategory
materialCategory
,
String
name
,
{
String
model
,
String
color
,
String
unit
,
String
remark
)
{
this
.
Id
=
Id
;
super
();
}
this
.
materialCategory
=
materialCategory
;
Name
=
name
;
public
Material
(
MaterialCategory
materialCategory
,
String
name
,
Model
=
model
;
String
model
,
String
color
,
String
unit
,
String
remark
,
Color
=
color
;
Double
retailPrice
,
Double
lowPrice
,
Double
presetPriceOne
,
Double
presetPriceTwo
)
Unit
=
unit
;
{
Remark
=
remark
;
super
();
}
this
.
materialCategory
=
materialCategory
;
Name
=
name
;
public
Long
getId
()
{
Model
=
model
;
return
Id
;
Color
=
color
;
}
Unit
=
unit
;
RetailPrice
=
retailPrice
;
public
void
setId
(
Long
id
)
{
LowPrice
=
lowPrice
;
Id
=
id
;
PresetPriceOne
=
presetPriceOne
;
}
PresetPriceTwo
=
presetPriceTwo
;
Remark
=
remark
;
public
MaterialCategory
getMaterialCategory
()
{
}
return
materialCategory
;
}
public
Long
getId
()
{
public
void
setMaterialCategory
(
MaterialCategory
materialCategory
)
{
return
Id
;
this
.
materialCategory
=
materialCategory
;
}
}
public
void
setId
(
Long
id
)
public
String
getName
()
{
{
return
Name
;
Id
=
id
;
}
}
public
void
setName
(
String
name
)
{
public
MaterialCategory
getMaterialCategory
()
Name
=
name
;
{
}
return
materialCategory
;
}
public
String
getModel
()
{
return
Model
;
public
void
setMaterialCategory
(
MaterialCategory
materialCategory
)
}
{
this
.
materialCategory
=
materialCategory
;
public
void
setModel
(
String
model
)
{
}
Model
=
model
;
}
public
String
getName
()
{
public
String
getColor
()
{
return
Name
;
return
Color
;
}
}
public
void
setName
(
String
name
)
public
void
setColor
(
String
color
)
{
{
Color
=
color
;
Name
=
name
;
}
}
public
String
getUnit
()
{
public
String
getModel
()
return
Unit
;
{
}
return
Model
;
}
public
void
setUnit
(
String
unit
)
{
Unit
=
unit
;
public
void
setModel
(
String
model
)
}
{
Model
=
model
;
public
String
getRemark
()
{
}
return
Remark
;
}
public
String
getColor
()
{
public
void
setRemark
(
String
remark
)
{
return
Color
;
Remark
=
remark
;
}
}
public
void
setColor
(
String
color
)
}
{
\ No newline at end of file
Color
=
color
;
}
public
String
getUnit
()
{
return
Unit
;
}
public
void
setUnit
(
String
unit
)
{
Unit
=
unit
;
}
public
void
setRetailPrice
(
Double
retailPrice
)
{
RetailPrice
=
retailPrice
;
}
public
Double
getRetailPrice
()
{
return
RetailPrice
;
}
public
void
setLowPrice
(
Double
lowPrice
)
{
LowPrice
=
lowPrice
;
}
public
Double
getLowPrice
()
{
return
LowPrice
;
}
public
void
setPresetPriceOne
(
Double
presetPriceOne
)
{
PresetPriceOne
=
presetPriceOne
;
}
public
Double
getPresetPriceOne
()
{
return
PresetPriceOne
;
}
public
void
setPresetPriceTwo
(
Double
presetPriceTwo
)
{
PresetPriceTwo
=
presetPriceTwo
;
}
public
Double
getPresetPriceTwo
()
{
return
PresetPriceTwo
;
}
public
String
getRemark
()
{
return
Remark
;
}
public
void
setRemark
(
String
remark
)
{
Remark
=
remark
;
}
}
src/com/jsh/model/po/Supplier.hbm.xml
View file @
227cf3b2
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<hibernate-mapping>
<class
name=
"com.jsh.model.po.Supplier"
table=
"jsh_supplier"
>
<class
name=
"com.jsh.model.po.Supplier"
table=
"jsh_supplier"
>
<id
name=
"id"
type=
"java.lang.Long"
>
<id
name=
"id"
type=
"java.lang.Long"
>
<column
name=
"id"
/>
<column
name=
"id"
/>
<generator
class=
"native"
/>
<generator
class=
"native"
/>
</id>
</id>
<property
name=
"supplier"
type=
"java.lang.String"
>
<property
name=
"supplier"
type=
"java.lang.String"
>
<column
name=
"supplier"
not-null=
"true"
>
<column
name=
"supplier"
not-null=
"true"
>
<comment>
供应商名称
</comment>
<comment>
供应商名称
</comment>
</column>
</column>
</property>
</property>
<property
name=
"type"
type=
"java.lang.String"
>
<property
name=
"type"
type=
"java.lang.String"
>
<column
name=
"type"
length=
"20"
>
<column
name=
"type"
length=
"20"
>
<comment>
类型
</comment>
<comment>
类型
</comment>
</column>
</column>
</property>
</property>
<property
name=
"contacts"
type=
"java.lang.String"
>
<property
name=
"contacts"
type=
"java.lang.String"
>
<column
name=
"contacts"
length=
"100"
>
<column
name=
"contacts"
length=
"100"
>
<comment>
联系人
</comment>
<comment>
联系人
</comment>
</column>
</column>
</property>
</property>
<property
name=
"phonenum"
type=
"java.lang.String"
>
<property
name=
"phonenum"
type=
"java.lang.String"
>
<column
name=
"phonenum"
length=
"30"
>
<column
name=
"phonenum"
length=
"30"
>
<comment>
联系电话
</comment>
<comment>
联系电话
</comment>
</column>
</column>
</property>
</property>
<property
name=
"email"
type=
"java.lang.String"
>
<property
name=
"email"
type=
"java.lang.String"
>
<column
name=
"email"
length=
"50"
>
<column
name=
"email"
length=
"50"
>
<comment>
电子邮箱
</comment>
<comment>
电子邮箱
</comment>
</column>
</column>
</property>
</property>
<property
name=
"description"
type=
"java.lang.String"
>
<property
generated=
"never"
lazy=
"false"
name=
"BeginNeedGet"
type=
"java.lang.Double"
>
<column
name=
"description"
length=
"500"
/>
<column
name=
"BeginNeedGet"
precision=
"22"
scale=
"3"
>
</property>
<comment>
期初应收
</comment>
<property
name=
"isystem"
type=
"java.lang.Short"
>
</column>
<column
name=
"isystem"
not-null=
"true"
>
</property>
<comment>
是否系统自带 0==系统 1==非系统
</comment>
<property
generated=
"never"
lazy=
"false"
name=
"BeginNeedPay"
type=
"java.lang.Double"
>
</column>
<column
name=
"BeginNeedPay"
precision=
"22"
scale=
"3"
>
</property>
<comment>
期初应付
</comment>
<property
generated=
"never"
lazy=
"false"
name=
"enabled"
type=
"boolean"
>
</column>
<column
length=
"1"
name=
"enabled"
>
</property>
<comment>
启用
</comment>
<property
generated=
"never"
lazy=
"false"
name=
"AllNeedGet"
type=
"java.lang.Double"
>
</column>
<column
name=
"AllNeedGet"
precision=
"22"
scale=
"3"
>
</property>
<comment>
累计应收
</comment>
</class>
</column>
</hibernate-mapping>
</property>
\ No newline at end of file
<property
generated=
"never"
lazy=
"false"
name=
"AllNeedPay"
type=
"java.lang.Double"
>
<column
name=
"AllNeedPay"
precision=
"22"
scale=
"3"
>
<comment>
累计应付
</comment>
</column>
</property>
<property
name=
"description"
type=
"java.lang.String"
>
<column
name=
"description"
length=
"500"
/>
</property>
<property
name=
"isystem"
type=
"java.lang.Short"
>
<column
name=
"isystem"
not-null=
"true"
>
<comment>
是否系统自带 0==系统 1==非系统
</comment>
</column>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"enabled"
type=
"boolean"
>
<column
length=
"1"
name=
"enabled"
>
<comment>
启用
</comment>
</column>
</property>
</class>
</hibernate-mapping>
src/com/jsh/model/po/Supplier.java
View file @
227cf3b2
...
@@ -9,6 +9,10 @@ public class Supplier implements java.io.Serializable
...
@@ -9,6 +9,10 @@ public class Supplier implements java.io.Serializable
private
String
contacts
;
private
String
contacts
;
private
String
phonenum
;
private
String
phonenum
;
private
String
email
;
private
String
email
;
private
Double
BeginNeedGet
;
private
Double
BeginNeedPay
;
private
Double
AllNeedGet
;
private
Double
AllNeedPay
;
private
Short
isystem
;
private
Short
isystem
;
private
String
description
;
private
String
description
;
private
Boolean
enabled
;
private
Boolean
enabled
;
...
@@ -23,29 +27,36 @@ public class Supplier implements java.io.Serializable
...
@@ -23,29 +27,36 @@ public class Supplier implements java.io.Serializable
this
.
id
=
id
;
this
.
id
=
id
;
}
}
public
Supplier
(
String
supplier
,
String
type
,
String
contacts
,
public
Supplier
(
String
supplier
,
String
type
,
String
contacts
,
String
phonenum
,
String
phonenum
,
String
email
,
Short
isystem
,
String
description
,
String
email
,
Short
isystem
,
String
description
,
Boolean
enabled
,
Boolean
enabled
)
{
Double
beginNeedGet
,
Double
beginNeedPay
,
Double
allNeedGet
,
Double
allNeedPay
)
{
super
();
super
();
this
.
supplier
=
supplier
;
this
.
supplier
=
supplier
;
this
.
type
=
type
;
this
.
type
=
type
;
this
.
contacts
=
contacts
;
this
.
contacts
=
contacts
;
this
.
phonenum
=
phonenum
;
this
.
phonenum
=
phonenum
;
this
.
email
=
email
;
this
.
email
=
email
;
this
.
BeginNeedGet
=
beginNeedGet
;
this
.
BeginNeedPay
=
beginNeedPay
;
this
.
AllNeedGet
=
allNeedGet
;
this
.
AllNeedPay
=
allNeedPay
;
this
.
isystem
=
isystem
;
this
.
isystem
=
isystem
;
this
.
description
=
description
;
this
.
description
=
description
;
this
.
enabled
=
enabled
;
this
.
enabled
=
enabled
;
}
}
public
Long
getId
()
{
public
Long
getId
()
{
return
id
;
return
id
;
}
}
public
void
setId
(
Long
id
)
{
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
this
.
id
=
id
;
}
}
public
String
getSupplier
()
{
public
String
getSupplier
()
{
return
supplier
;
return
supplier
;
}
}
...
@@ -84,6 +95,46 @@ public class Supplier implements java.io.Serializable
...
@@ -84,6 +95,46 @@ public class Supplier implements java.io.Serializable
public
void
setEmail
(
String
email
)
{
public
void
setEmail
(
String
email
)
{
this
.
email
=
email
;
this
.
email
=
email
;
}
}
public
void
setBeginNeedGet
(
Double
beginNeedGet
)
{
BeginNeedGet
=
beginNeedGet
;
}
public
Double
getBeginNeedGet
()
{
return
BeginNeedGet
;
}
public
void
setBeginNeedPay
(
Double
beginNeedPay
)
{
BeginNeedPay
=
beginNeedPay
;
}
public
Double
getBeginNeedPay
()
{
return
BeginNeedPay
;
}
public
void
setAllNeedGet
(
Double
allNeedGet
)
{
AllNeedGet
=
allNeedGet
;
}
public
Double
getAllNeedGet
()
{
return
AllNeedGet
;
}
public
void
setAllNeedPay
(
Double
allNeedPay
)
{
AllNeedPay
=
allNeedPay
;
}
public
Double
getAllNeedPay
()
{
return
AllNeedPay
;
}
public
Short
getIsystem
()
{
public
Short
getIsystem
()
{
return
isystem
;
return
isystem
;
...
@@ -107,8 +158,6 @@ public class Supplier implements java.io.Serializable
...
@@ -107,8 +158,6 @@ public class Supplier implements java.io.Serializable
public
void
setEnabled
(
Boolean
enabled
)
{
public
void
setEnabled
(
Boolean
enabled
)
{
this
.
enabled
=
enabled
;
this
.
enabled
=
enabled
;
}
}
}
}
\ No newline at end of file
src/com/jsh/model/po/VisitAccount.hbm.xml
deleted
100644 → 0
View file @
c8f80894
<?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.VisitAccount"
table=
"jsh_visitaccount"
>
<id
name=
"Id"
type=
"java.lang.Long"
>
<column
name=
"Id"
/>
<generator
class=
"native"
/>
</id>
<many-to-one
name=
"depot"
class=
"com.jsh.model.po.Depot"
lazy=
"false"
>
<column
name=
"ProjectId"
not-null=
"true"
/>
</many-to-one>
<property
generated=
"never"
lazy=
"false"
name=
"LouHao"
type=
"java.lang.String"
>
<column
length=
"50"
name=
"LouHao"
>
<comment>
楼号
</comment>
</column>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"HuHao"
type=
"java.lang.String"
>
<column
length=
"50"
name=
"HuHao"
>
<comment>
户号
</comment>
</column>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"HuiFang"
type=
"java.lang.String"
>
<column
length=
"50"
name=
"HuiFang"
>
<comment>
回访情况
</comment>
</column>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"LuoShi"
type=
"java.lang.String"
>
<column
length=
"50"
name=
"LuoShi"
>
<comment>
落实情况
</comment>
</column>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"Name"
type=
"java.lang.String"
>
<column
length=
"50"
name=
"Name"
>
<comment>
住户姓名
</comment>
</column>
</property>
<property
generated=
"never"
lazy=
"false"
name=
"Tel"
type=
"java.lang.String"
>
<column
length=
"50"
name=
"Tel"
>
<comment>
电话
</comment>
</column>
</property>
<property
name=
"AddTime"
type=
"java.sql.Timestamp"
>
<column
length=
"19"
name=
"AddTime"
>
<comment>
时间
</comment>
</column>
</property>
</class>
</hibernate-mapping>
src/com/jsh/model/po/VisitAccount.java
deleted
100644 → 0
View file @
c8f80894
package
com.jsh.model.po
;
import
java.sql.Timestamp
;
@SuppressWarnings
(
"serial"
)
public
class
VisitAccount
implements
java
.
io
.
Serializable
{
private
Long
Id
;
private
Depot
depot
;
private
String
LouHao
;
private
String
HuHao
;
private
String
HuiFang
;
private
String
LuoShi
;
private
String
Name
;
private
String
Tel
;
private
Timestamp
AddTime
;
public
VisitAccount
()
{
}
public
VisitAccount
(
Long
Id
)
{
this
.
Id
=
Id
;
}
public
VisitAccount
(
Depot
depot
,
String
LouHao
,
String
HuHao
,
String
HuiFang
,
String
LuoShi
,
String
Name
,
String
Tel
,
Timestamp
AddTime
)
{
this
.
depot
=
depot
;
this
.
LouHao
=
LouHao
;
this
.
HuHao
=
HuHao
;
this
.
HuiFang
=
HuiFang
;
this
.
LuoShi
=
LuoShi
;
this
.
Name
=
Name
;
this
.
Tel
=
Tel
;
this
.
AddTime
=
AddTime
;
}
public
Long
getId
()
{
return
Id
;
}
public
void
setId
(
Long
id
)
{
Id
=
id
;
}
public
Depot
getDepot
()
{
return
depot
;
}
public
void
setDepot
(
Depot
depot
)
{
this
.
depot
=
depot
;
}
public
String
getLouHao
()
{
return
LouHao
;
}
public
void
setLouHao
(
String
louHao
)
{
LouHao
=
louHao
;
}
public
String
getHuHao
()
{
return
HuHao
;
}
public
void
setHuHao
(
String
huHao
)
{
HuHao
=
huHao
;
}
public
String
getHuiFang
()
{
return
HuiFang
;
}
public
void
setHuiFang
(
String
huiFang
)
{
HuiFang
=
huiFang
;
}
public
String
getLuoShi
()
{
return
LuoShi
;
}
public
void
setLuoShi
(
String
luoShi
)
{
LuoShi
=
luoShi
;
}
public
String
getName
()
{
return
Name
;
}
public
void
setName
(
String
name
)
{
Name
=
name
;
}
public
String
getTel
()
{
return
Tel
;
}
public
void
setTel
(
String
tel
)
{
Tel
=
tel
;
}
public
Timestamp
getAddTime
()
{
return
AddTime
;
}
public
void
setAddTime
(
Timestamp
addTime
)
{
AddTime
=
addTime
;
}
}
\ No newline at end of file
src/com/jsh/model/vo/basic/SupplierModel.java
View file @
227cf3b2
package
com.jsh.model.vo.basic
;
package
com.jsh.model.vo.basic
;
import
java.io.Serializable
;
import
java.io.Serializable
;
@SuppressWarnings
(
"serial"
)
@SuppressWarnings
(
"serial"
)
public
class
SupplierModel
implements
Serializable
public
class
SupplierModel
implements
Serializable
{
{
private
SupplierShowModel
showModel
=
new
SupplierShowModel
();
private
SupplierShowModel
showModel
=
new
SupplierShowModel
();
/**======开始接受页面参数=================**/
/**======开始接受页面参数=================**/
/**
/**
* 供应商名称
* 供应商名称
*/
*/
private
String
supplier
=
""
;
private
String
supplier
=
""
;
/**
/**
* 类型
* 类型
*/
*/
private
String
type
=
""
;
private
String
type
=
""
;
/**
/**
* 联系人
* 联系人
*/
*/
private
String
contacts
=
""
;
private
String
contacts
=
""
;
/**
/**
* 联系电话
* 联系电话
*/
*/
private
String
phonenum
=
""
;
private
String
phonenum
=
""
;
/**
/**
* 电子邮箱
* 电子邮箱
*/
*/
private
String
email
=
""
;
private
String
email
=
""
;
/**
/**
* 描述信息
* 期初应收
*/
*/
private
String
description
=
""
;
private
Double
BeginNeedGet
;
/**
/**
* 启用
* 期初应付
*/
*/
private
Boolean
enabled
=
false
;
private
Double
BeginNeedPay
;
/**
/**
* 供应商ID
* 累计应收
*/
*/
private
Long
supplierID
=
0
l
;
private
Double
AllNeedGet
;
/**
/**
* 供应商IDs 批量操作使用
* 累计应付
*/
*/
private
String
supplierIDs
=
""
;
private
Double
AllNeedPay
;
/**
/**
* 每页显示的个数
* 描述信息
*/
*/
private
int
pageSize
=
10
;
private
String
description
=
""
;
/**
/**
* 当前页码
* 启用
*/
*/
private
int
pageNo
=
1
;
private
Boolean
enabled
=
false
;
/**
/**
* 用户IP,用户记录操作日志
* 供应商ID
*/
*/
private
String
clientIp
=
""
;
private
Long
supplierID
=
0
l
;
public
SupplierShowModel
getShowModel
()
{
/**
return
showModel
;
* 供应商IDs 批量操作使用
}
*/
private
String
supplierIDs
=
""
;
public
void
setShowModel
(
SupplierShowModel
showModel
)
{
this
.
showModel
=
showModel
;
/**
}
* 每页显示的个数
*/
public
String
getSupplier
()
{
private
int
pageSize
=
10
;
return
supplier
;
}
/**
* 当前页码
public
void
setSupplier
(
String
supplier
)
{
*/
this
.
supplier
=
supplier
;
private
int
pageNo
=
1
;
}
/**
public
String
getType
()
{
* 用户IP,用户记录操作日志
return
type
;
*/
}
private
String
clientIp
=
""
;
public
void
setType
(
String
type
)
{
public
SupplierShowModel
getShowModel
()
{
this
.
type
=
type
;
return
showModel
;
}
}
public
String
getContacts
()
{
public
void
setShowModel
(
SupplierShowModel
showModel
)
{
return
contacts
;
this
.
showModel
=
showModel
;
}
}
public
void
setContacts
(
String
contacts
)
{
public
String
getSupplier
()
{
this
.
contacts
=
contacts
;
return
supplier
;
}
}
public
String
getPhonenum
()
{
public
void
setSupplier
(
String
supplier
)
{
return
phonenum
;
this
.
supplier
=
supplier
;
}
}
public
void
setPhonenum
(
String
phonenum
)
{
public
String
getType
()
{
this
.
phonenum
=
phonenum
;
return
type
;
}
}
public
String
getEmail
()
{
public
void
setType
(
String
type
)
{
return
email
;
this
.
type
=
type
;
}
}
public
void
setEmail
(
String
email
)
{
public
String
getContacts
()
{
this
.
email
=
email
;
return
contacts
;
}
}
public
String
getDescription
()
{
public
void
setContacts
(
String
contacts
)
{
return
description
;
this
.
contacts
=
contacts
;
}
}
public
void
setDescription
(
String
description
)
{
public
String
getPhonenum
()
{
this
.
description
=
description
;
return
phonenum
;
}
}
public
Boolean
getEnabled
()
{
public
void
setPhonenum
(
String
phonenum
)
{
return
enabled
;
this
.
phonenum
=
phonenum
;
}
}
public
void
setEnabled
(
Boolean
enabled
)
{
public
String
getEmail
()
{
this
.
enabled
=
enabled
;
return
email
;
}
}
public
Long
getSupplierID
()
{
public
void
setEmail
(
String
email
)
{
return
supplierID
;
this
.
email
=
email
;
}
}
public
void
setSupplierID
(
Long
supplierID
)
{
public
void
setBeginNeedGet
(
Double
beginNeedGet
)
this
.
supplierID
=
supplierID
;
{
}
BeginNeedGet
=
beginNeedGet
;
}
public
String
getSupplierIDs
()
{
return
supplierIDs
;
public
Double
getBeginNeedGet
()
}
{
return
BeginNeedGet
;
public
void
setSupplierIDs
(
String
supplierIDs
)
{
}
this
.
supplierIDs
=
supplierIDs
;
}
public
void
setBeginNeedPay
(
Double
beginNeedPay
)
{
public
int
getPageSize
()
{
BeginNeedPay
=
beginNeedPay
;
return
pageSize
;
}
}
public
Double
getBeginNeedPay
()
public
void
setPageSize
(
int
pageSize
)
{
{
this
.
pageSize
=
pageSize
;
return
BeginNeedPay
;
}
}
public
int
getPageNo
()
{
public
void
setAllNeedGet
(
Double
allNeedGet
)
return
pageNo
;
{
}
AllNeedGet
=
allNeedGet
;
}
public
void
setPageNo
(
int
pageNo
)
{
this
.
pageNo
=
pageNo
;
public
Double
getAllNeedGet
()
}
{
return
AllNeedGet
;
public
String
getClientIp
()
{
}
return
clientIp
;
}
public
void
setAllNeedPay
(
Double
allNeedPay
)
{
public
void
setClientIp
(
String
clientIp
)
{
AllNeedPay
=
allNeedPay
;
this
.
clientIp
=
clientIp
;
}
}
public
Double
getAllNeedPay
()
{
return
AllNeedPay
;
}
}
public
String
getDescription
()
{
return
description
;
}
public
void
setDescription
(
String
description
)
{
this
.
description
=
description
;
}
public
Boolean
getEnabled
()
{
return
enabled
;
}
public
void
setEnabled
(
Boolean
enabled
)
{
this
.
enabled
=
enabled
;
}
public
Long
getSupplierID
()
{
return
supplierID
;
}
public
void
setSupplierID
(
Long
supplierID
)
{
this
.
supplierID
=
supplierID
;
}
public
String
getSupplierIDs
()
{
return
supplierIDs
;
}
public
void
setSupplierIDs
(
String
supplierIDs
)
{
this
.
supplierIDs
=
supplierIDs
;
}
public
int
getPageSize
()
{
return
pageSize
;
}
public
void
setPageSize
(
int
pageSize
)
{
this
.
pageSize
=
pageSize
;
}
public
int
getPageNo
()
{
return
pageNo
;
}
public
void
setPageNo
(
int
pageNo
)
{
this
.
pageNo
=
pageNo
;
}
public
String
getClientIp
()
{
return
clientIp
;
}
public
void
setClientIp
(
String
clientIp
)
{
this
.
clientIp
=
clientIp
;
}
}
src/com/jsh/model/vo/basic/VisitAccountModel.java
deleted
100644 → 0
View file @
c8f80894
package
com.jsh.model.vo.basic
;
import
java.io.Serializable
;
@SuppressWarnings
(
"serial"
)
public
class
VisitAccountModel
implements
Serializable
{
private
VisitAccountShowModel
showModel
=
new
VisitAccountShowModel
();
/**======开始接受页面参数=================**/
/**
* ProjectId
*/
private
Long
ProjectId
;
/**
* 楼号
*/
private
String
LouHao
=
""
;
/**
* 户号
*/
private
String
HuHao
=
""
;
/**
* 回访情况
*/
private
String
HuiFang
=
""
;
/**
* 落实情况
*/
private
String
LuoShi
=
""
;
/**
* 住户姓名
*/
private
String
Name
=
""
;
/**
* 电话
*/
private
String
Tel
=
""
;
/**
* 时间
*/
private
String
AddTime
=
""
;
/**
* 分类ID
*/
private
Long
visitAccountID
=
0
l
;
/**
* 分类IDs 批量操作使用
*/
private
String
visitAccountIDs
=
""
;
/**
* 每页显示的个数
*/
private
int
pageSize
=
10
;
/**
* 当前页码
*/
private
int
pageNo
=
1
;
/**
* 用户IP,用户记录操作日志
*/
private
String
clientIp
=
""
;
public
VisitAccountShowModel
getShowModel
()
{
return
showModel
;
}
public
void
setShowModel
(
VisitAccountShowModel
showModel
)
{
this
.
showModel
=
showModel
;
}
public
Long
getProjectId
()
{
return
ProjectId
;
}
public
void
setProjectId
(
Long
projectId
)
{
ProjectId
=
projectId
;
}
public
String
getLouHao
()
{
return
LouHao
;
}
public
void
setLouHao
(
String
louHao
)
{
LouHao
=
louHao
;
}
public
String
getHuHao
()
{
return
HuHao
;
}
public
void
setHuHao
(
String
huHao
)
{
HuHao
=
huHao
;
}
public
String
getHuiFang
()
{
return
HuiFang
;
}
public
void
setHuiFang
(
String
huiFang
)
{
HuiFang
=
huiFang
;
}
public
String
getLuoShi
()
{
return
LuoShi
;
}
public
void
setLuoShi
(
String
luoShi
)
{
LuoShi
=
luoShi
;
}
public
String
getName
()
{
return
Name
;
}
public
void
setName
(
String
name
)
{
Name
=
name
;
}
public
String
getTel
()
{
return
Tel
;
}
public
void
setTel
(
String
tel
)
{
Tel
=
tel
;
}
public
String
getAddTime
()
{
return
AddTime
;
}
public
void
setAddTime
(
String
addTime
)
{
AddTime
=
addTime
;
}
public
Long
getVisitAccountID
()
{
return
visitAccountID
;
}
public
void
setVisitAccountID
(
Long
visitAccountID
)
{
this
.
visitAccountID
=
visitAccountID
;
}
public
String
getVisitAccountIDs
()
{
return
visitAccountIDs
;
}
public
void
setVisitAccountIDs
(
String
visitAccountIDs
)
{
this
.
visitAccountIDs
=
visitAccountIDs
;
}
public
int
getPageSize
()
{
return
pageSize
;
}
public
void
setPageSize
(
int
pageSize
)
{
this
.
pageSize
=
pageSize
;
}
public
int
getPageNo
()
{
return
pageNo
;
}
public
void
setPageNo
(
int
pageNo
)
{
this
.
pageNo
=
pageNo
;
}
public
String
getClientIp
()
{
return
clientIp
;
}
public
void
setClientIp
(
String
clientIp
)
{
this
.
clientIp
=
clientIp
;
}
}
src/com/jsh/model/vo/basic/VisitAccountShowModel.java
deleted
100644 → 0
View file @
c8f80894
package
com.jsh.model.vo.basic
;
import
java.io.Serializable
;
@SuppressWarnings
(
"serial"
)
public
class
VisitAccountShowModel
implements
Serializable
{
/**
* 提示信息
*/
private
String
msgTip
=
""
;
public
String
getMsgTip
()
{
return
msgTip
;
}
public
void
setMsgTip
(
String
msgTip
)
{
this
.
msgTip
=
msgTip
;
}
}
src/com/jsh/model/vo/materials/MaterialModel.java
View file @
227cf3b2
package
com.jsh.model.vo.materials
;
package
com.jsh.model.vo.materials
;
import
java.io.Serializable
;
import
java.io.Serializable
;
@SuppressWarnings
(
"serial"
)
@SuppressWarnings
(
"serial"
)
public
class
MaterialModel
implements
Serializable
public
class
MaterialModel
implements
Serializable
{
{
private
MaterialShowModel
showModel
=
new
MaterialShowModel
();
private
MaterialShowModel
showModel
=
new
MaterialShowModel
();
/**======开始接受页面参数=================**/
/**======开始接受页面参数=================**/
/**
/**
* 名称
* 名称
*/
*/
private
String
Name
=
""
;
private
String
Name
=
""
;
/**
/**
* 型号
* 型号
*/
*/
private
String
Model
=
""
;
private
String
Model
=
""
;
/**
/**
* 颜色
* 颜色
*/
*/
private
String
Color
=
""
;
private
String
Color
=
""
;
/**
/**
* 单位
* 单位
*/
*/
private
String
Unit
=
""
;
private
String
Unit
=
""
;
/**
/**
* 备注
* 零售价
*/
*/
private
String
Remark
=
""
;
private
Double
RetailPrice
;
/**
/**
* CategoryId
* 最低售价
*/
*/
private
Long
CategoryId
;
private
Double
LowPrice
;
/**
/**
* CategoryIds 用于in子查询
* 预设售价一
*/
*/
private
String
CategoryIds
=
"1"
;
private
Double
PresetPriceOne
;
/**
/**
* 分类ID
* 预设售价二
*/
*/
private
Long
materialID
=
0
l
;
private
Double
PresetPriceTwo
;
/**
/**
* 分类IDs 批量操作使用
* 备注
*/
*/
private
String
materialIDs
=
""
;
private
String
Remark
=
""
;
/**
/**
* 每页显示的个数
* CategoryId
*/
*/
private
int
pageSize
=
10
;
private
Long
CategoryId
;
/**
/**
* 当前页码
* CategoryIds 用于in子查询
*/
*/
private
int
pageNo
=
1
;
private
String
CategoryIds
=
"1"
;
/**
/**
* 用户IP,用户记录操作日志
* 分类ID
*/
*/
private
String
clientIp
=
""
;
private
Long
materialID
=
0
l
;
public
MaterialShowModel
getShowModel
()
{
/**
return
showModel
;
* 分类IDs 批量操作使用
}
*/
private
String
materialIDs
=
""
;
public
void
setShowModel
(
MaterialShowModel
showModel
)
{
this
.
showModel
=
showModel
;
/**
}
* 每页显示的个数
*/
public
String
getName
()
{
private
int
pageSize
=
10
;
return
Name
;
}
/**
* 当前页码
public
void
setName
(
String
name
)
{
*/
Name
=
name
;
private
int
pageNo
=
1
;
}
/**
public
String
getModel
()
{
* 用户IP,用户记录操作日志
return
Model
;
*/
}
private
String
clientIp
=
""
;
public
void
setModel
(
String
model
)
{
public
MaterialShowModel
getShowModel
()
{
Model
=
model
;
return
showModel
;
}
}
public
String
getColor
()
{
public
void
setShowModel
(
MaterialShowModel
showModel
)
{
return
Color
;
this
.
showModel
=
showModel
;
}
}
public
void
setColor
(
String
color
)
{
public
String
getName
()
{
Color
=
color
;
return
Name
;
}
}
public
String
getUnit
()
{
public
void
setName
(
String
name
)
{
return
Unit
;
Name
=
name
;
}
}
public
void
setUnit
(
String
unit
)
{
public
String
getModel
()
{
Unit
=
unit
;
return
Model
;
}
}
public
String
getRemark
()
{
public
void
setModel
(
String
model
)
{
return
Remark
;
Model
=
model
;
}
}
public
void
setRemark
(
String
remark
)
{
public
String
getColor
()
{
Remark
=
remark
;
return
Color
;
}
}
public
Long
getCategoryId
()
{
public
void
setColor
(
String
color
)
{
return
CategoryId
;
Color
=
color
;
}
}
public
void
setCategoryId
(
Long
categoryId
)
{
public
String
getUnit
()
{
CategoryId
=
categoryId
;
return
Unit
;
}
}
public
Long
getMaterialID
()
{
public
void
setUnit
(
String
unit
)
{
return
materialID
;
Unit
=
unit
;
}
}
public
void
setMaterialID
(
Long
materialID
)
{
public
void
setRetailPrice
(
Double
retailPrice
)
this
.
materialID
=
materialID
;
{
}
RetailPrice
=
retailPrice
;
}
public
String
getMaterialIDs
()
{
return
materialIDs
;
public
Double
getRetailPrice
()
}
{
return
RetailPrice
;
public
void
setMaterialIDs
(
String
materialIDs
)
{
}
this
.
materialIDs
=
materialIDs
;
}
public
void
setLowPrice
(
Double
lowPrice
)
{
public
int
getPageSize
()
{
LowPrice
=
lowPrice
;
return
pageSize
;
}
}
public
Double
getLowPrice
()
public
void
setPageSize
(
int
pageSize
)
{
{
this
.
pageSize
=
pageSize
;
return
LowPrice
;
}
}
public
int
getPageNo
()
{
public
void
setPresetPriceOne
(
Double
presetPriceOne
)
return
pageNo
;
{
}
PresetPriceOne
=
presetPriceOne
;
}
public
void
setPageNo
(
int
pageNo
)
{
this
.
pageNo
=
pageNo
;
public
Double
getPresetPriceOne
()
}
{
return
PresetPriceOne
;
public
String
getClientIp
()
{
}
return
clientIp
;
}
public
void
setPresetPriceTwo
(
Double
presetPriceTwo
)
{
public
void
setClientIp
(
String
clientIp
)
{
PresetPriceTwo
=
presetPriceTwo
;
this
.
clientIp
=
clientIp
;
}
}
public
Double
getPresetPriceTwo
()
public
String
getCategoryIds
()
{
{
return
CategoryIds
;
return
PresetPriceTwo
;
}
}
public
void
setCategoryIds
(
String
categoryIds
)
{
public
String
getRemark
()
{
CategoryIds
=
categoryIds
;
return
Remark
;
}
}
}
public
void
setRemark
(
String
remark
)
{
Remark
=
remark
;
}
public
Long
getCategoryId
()
{
return
CategoryId
;
}
public
void
setCategoryId
(
Long
categoryId
)
{
CategoryId
=
categoryId
;
}
public
Long
getMaterialID
()
{
return
materialID
;
}
public
void
setMaterialID
(
Long
materialID
)
{
this
.
materialID
=
materialID
;
}
public
String
getMaterialIDs
()
{
return
materialIDs
;
}
public
void
setMaterialIDs
(
String
materialIDs
)
{
this
.
materialIDs
=
materialIDs
;
}
public
int
getPageSize
()
{
return
pageSize
;
}
public
void
setPageSize
(
int
pageSize
)
{
this
.
pageSize
=
pageSize
;
}
public
int
getPageNo
()
{
return
pageNo
;
}
public
void
setPageNo
(
int
pageNo
)
{
this
.
pageNo
=
pageNo
;
}
public
String
getClientIp
()
{
return
clientIp
;
}
public
void
setClientIp
(
String
clientIp
)
{
this
.
clientIp
=
clientIp
;
}
public
String
getCategoryIds
()
{
return
CategoryIds
;
}
public
void
setCategoryIds
(
String
categoryIds
)
{
CategoryIds
=
categoryIds
;
}
}
src/com/jsh/service/basic/VisitAccountIService.java
deleted
100644 → 0
View file @
c8f80894
package
com.jsh.service.basic
;
import
com.jsh.base.BaseIService
;
import
com.jsh.model.po.VisitAccount
;
public
interface
VisitAccountIService
extends
BaseIService
<
VisitAccount
>
{
}
src/com/jsh/service/basic/VisitAccountService.java
deleted
100644 → 0
View file @
c8f80894
package
com.jsh.service.basic
;
import
com.jsh.base.BaseService
;
import
com.jsh.dao.basic.VisitAccountIDAO
;
import
com.jsh.model.po.VisitAccount
;
public
class
VisitAccountService
extends
BaseService
<
VisitAccount
>
implements
VisitAccountIService
{
@SuppressWarnings
(
"unused"
)
private
VisitAccountIDAO
visitAccountDao
;
public
void
setVisitAccountDao
(
VisitAccountIDAO
visitAccountDao
)
{
this
.
visitAccountDao
=
visitAccountDao
;
}
@Override
protected
Class
<
VisitAccount
>
getEntityClass
()
{
return
VisitAccount
.
class
;
}
}
Prev
1
2
3
4
5
Next
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