Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cloud-fb
Overview
Overview
Details
Activity
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
王衍超
cloud-fb
Commits
a951ebd7
Commit
a951ebd7
authored
Apr 28, 2021
by
shiwenbo
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of gitlab.beecode.cn:kunlun/xyst_dinas/xyst_dinas_backend into develop
parents
1bc7e74a
faf8a0c9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
31 changed files
with
72 additions
and
44 deletions
+72
-44
DinasTypeConstant.java
...n/java/com/xyst/dinas/biz/constant/DinasTypeConstant.java
+1
-1
RetailInfo.jmx
...ain/resources/com/xyst/dinas/biz/datamodel/RetailInfo.jmx
+1
-1
RetailInfoAssociatedDinasTypeDetail.jmx
...nas/biz/datamodel/RetailInfoAssociatedDinasTypeDetail.jmx
+1
-1
StationAssociatedDinasTypeDetail.jmx
.../dinas/biz/datamodel/StationAssociatedDinasTypeDetail.jmx
+1
-1
DinasType.hbm.xml
...yst.dinas.biz/src/main/resources/config/DinasType.hbm.xml
+1
-1
RetailInfo.hbm.xml
...st.dinas.biz/src/main/resources/config/RetailInfo.hbm.xml
+2
-2
Contract.hbm.xml
...dinas.contract/src/main/resources/config/Contract.hbm.xml
+2
-2
PriceAdjustmentConstant.java
...om/xyst/dinas/price/constant/PriceAdjustmentConstant.java
+1
-1
PriceAdjustmentSearchEntity.java
.../xyst/dinas/price/entity/PriceAdjustmentSearchEntity.java
+9
-0
PriceAdjustmentDaoImpl.java
...xyst/dinas/price/internal/dao/PriceAdjustmentDaoImpl.java
+0
-0
PriceAdjustmentServiceImpl.java
...as/price/internal/service/PriceAdjustmentServiceImpl.java
+4
-2
PriceAdjustmentController.java
...a/com/xyst/dinas/price/web/PriceAdjustmentController.java
+20
-3
PriceAdjustment.jmx
...ources/com/xyst/dinas/price/datamodel/PriceAdjustment.jmx
+1
-1
PriceAdjustmentAssociatedDinasTypeDetails.jmx
...e/datamodel/PriceAdjustmentAssociatedDinasTypeDetails.jmx
+1
-1
PriceAdjustment.hbm.xml
...s.price/src/main/resources/config/PriceAdjustment.hbm.xml
+2
-2
ProductionPlanReportConstant.java
...nas/production/constant/ProductionPlanReportConstant.java
+1
-1
SandMiningConstant.java
...om/xyst/dinas/production/constant/SandMiningConstant.java
+1
-1
ProductionPlanReport.jmx
.../xyst/dinas/production/datamodel/ProductionPlanReport.jmx
+1
-1
ProductionPlanReportAssociatedDinasTypeDetails.jmx
...amodel/ProductionPlanReportAssociatedDinasTypeDetails.jmx
+1
-1
SandMining.jmx
...ources/com/xyst/dinas/production/datamodel/SandMining.jmx
+2
-2
SandMiningAssociatedSandMiningStationDetail.jmx
...datamodel/SandMiningAssociatedSandMiningStationDetail.jmx
+1
-1
ProductionPlanReport.hbm.xml
...on/src/main/resources/config/ProductionPlanReport.hbm.xml
+2
-2
SandMining.hbm.xml
...s.production/src/main/resources/config/SandMining.hbm.xml
+2
-2
ProjectFiledConstant.java
...com/xyst/dinas/project/constant/ProjectFiledConstant.java
+1
-1
ProjectFiled.hbm.xml
...as.project/src/main/resources/config/ProjectFiled.hbm.xml
+4
-4
SalesPlanConstant.java
...java/com/xyst/dinas/sales/constant/SalesPlanConstant.java
+1
-1
NeedPlanQueryView.jmx
...ces/com/xyst/dinas/sales/advanquery/NeedPlanQueryView.jmx
+1
-1
SalesPlanQueryView.jmx
...es/com/xyst/dinas/sales/advanquery/SalesPlanQueryView.jmx
+1
-1
NeedPlan.hbm.xml
...st.dinas.sales/src/main/resources/config/NeedPlan.hbm.xml
+2
-2
SalesPlan.hbm.xml
...t.dinas.sales/src/main/resources/config/SalesPlan.hbm.xml
+2
-2
SalesPlanTemp.hbm.xml
...nas.sales/src/main/resources/config/SalesPlanTemp.hbm.xml
+2
-2
No files found.
backend/xyst.dinas.biz/src/main/java/com/xyst/dinas/biz/constant/DinasTypeConstant.java
View file @
a951ebd7
...
@@ -20,7 +20,7 @@ public interface DinasTypeConstant {
...
@@ -20,7 +20,7 @@ public interface DinasTypeConstant {
/**
/**
* 关联子表的实体名
* 关联子表的实体名
*/
*/
String
STATION_DINAS_TYPE_DETAIL_ENTITY
=
"com.xyst.dinas.biz.datamodel.Station
$
DinasTypeDetail"
;
String
STATION_DINAS_TYPE_DETAIL_ENTITY
=
"com.xyst.dinas.biz.datamodel.Station
Associated
DinasTypeDetail"
;
/** 砂石种类名称*/
/** 砂石种类名称*/
String
DINASTYPE_NAME
=
"dinasTypeName"
;
String
DINASTYPE_NAME
=
"dinasTypeName"
;
...
...
backend/xyst.dinas.biz/src/main/resources/com/xyst/dinas/biz/datamodel/RetailInfo.jmx
View file @
a951ebd7
...
@@ -94,7 +94,7 @@
...
@@ -94,7 +94,7 @@
<m:id>
97b70076-09ca-4fb5-b2d0-cd13a4218f19
</m:id>
<m:id>
97b70076-09ca-4fb5-b2d0-cd13a4218f19
</m:id>
<m:name>
dinasTypeDetails
</m:name>
<m:name>
dinasTypeDetails
</m:name>
<m:title>
售卖的砂石
</m:title>
<m:title>
售卖的砂石
</m:title>
<m:type>
com.xyst.dinas.biz.datamodel.RetailInfo
$
DinasTypeDetail[]
</m:type>
<m:type>
com.xyst.dinas.biz.datamodel.RetailInfo
Associated
DinasTypeDetail[]
</m:type>
<m:description/>
<m:description/>
<m:default/>
<m:default/>
</m:attribute>
</m:attribute>
...
...
backend/xyst.dinas.biz/src/main/resources/com/xyst/dinas/biz/datamodel/RetailInfo
$
DinasTypeDetail.jmx
→
backend/xyst.dinas.biz/src/main/resources/com/xyst/dinas/biz/datamodel/RetailInfo
Associated
DinasTypeDetail.jmx
View file @
a951ebd7
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<metadata
xmlns=
"http://www.beecode.cn/schema/amino-metadata"
xmlns:m=
"http://www.beecode.cn/schema/bcp-type"
>
<metadata
xmlns=
"http://www.beecode.cn/schema/amino-metadata"
xmlns:m=
"http://www.beecode.cn/schema/bcp-type"
>
<specification>
1.0
</specification>
<specification>
1.0
</specification>
<id>
f146f611-b102-4865-81c8-c4375b6771dc
</id>
<id>
f146f611-b102-4865-81c8-c4375b6771dc
</id>
<name>
com.xyst.dinas.biz.datamodel.RetailInfo
$
DinasTypeDetail
</name>
<name>
com.xyst.dinas.biz.datamodel.RetailInfo
Associated
DinasTypeDetail
</name>
<title>
散户购买的砂石种类
</title>
<title>
散户购买的砂石种类
</title>
<define>
bcp.type.Class
</define>
<define>
bcp.type.Class
</define>
<define-version>
1.0
</define-version>
<define-version>
1.0
</define-version>
...
...
backend/xyst.dinas.biz/src/main/resources/com/xyst/dinas/biz/datamodel/Station
$
DinasTypeDetail.jmx
→
backend/xyst.dinas.biz/src/main/resources/com/xyst/dinas/biz/datamodel/Station
Associated
DinasTypeDetail.jmx
View file @
a951ebd7
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<metadata
xmlns=
"http://www.beecode.cn/schema/amino-metadata"
xmlns:m=
"http://www.beecode.cn/schema/bcp-type"
>
<metadata
xmlns=
"http://www.beecode.cn/schema/amino-metadata"
xmlns:m=
"http://www.beecode.cn/schema/bcp-type"
>
<specification>
1.0
</specification>
<specification>
1.0
</specification>
<id>
2e4c91d3-9cdf-4af7-90b6-689473b6d142
</id>
<id>
2e4c91d3-9cdf-4af7-90b6-689473b6d142
</id>
<name>
com.xyst.dinas.biz.datamodel.Station
$
DinasTypeDetail
</name>
<name>
com.xyst.dinas.biz.datamodel.Station
Associated
DinasTypeDetail
</name>
<title>
砂石和场站的关联表
</title>
<title>
砂石和场站的关联表
</title>
<define>
bcp.type.Class
</define>
<define>
bcp.type.Class
</define>
<define-version>
1.0
</define-version>
<define-version>
1.0
</define-version>
...
...
backend/xyst.dinas.biz/src/main/resources/config/DinasType.hbm.xml
View file @
a951ebd7
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
</property>
</property>
</class>
</class>
<class
entity-name=
"com.xyst.dinas.biz.datamodel.Station
$
DinasTypeDetail"
table=
"xyst_dinas_biz_station_dinas_type_detail"
>
<class
entity-name=
"com.xyst.dinas.biz.datamodel.Station
Associated
DinasTypeDetail"
table=
"xyst_dinas_biz_station_dinas_type_detail"
>
<tuplizer
entity-mode=
"dynamic-map"
class=
"com.beecode.bcp.store.hibernate.KObjectEntityTuplizer"
/>
<tuplizer
entity-mode=
"dynamic-map"
class=
"com.beecode.bcp.store.hibernate.KObjectEntityTuplizer"
/>
<id
name=
"id"
type=
"uuid-binary"
column=
"id"
length=
"16"
>
<id
name=
"id"
type=
"uuid-binary"
column=
"id"
length=
"16"
>
<generator
class=
"assigned"
/>
<generator
class=
"assigned"
/>
...
...
backend/xyst.dinas.biz/src/main/resources/config/RetailInfo.hbm.xml
View file @
a951ebd7
...
@@ -79,11 +79,11 @@
...
@@ -79,11 +79,11 @@
<bag
name=
"dinasTypeDetails"
cascade=
"none"
inverse=
"true"
lazy=
"extra"
>
<bag
name=
"dinasTypeDetails"
cascade=
"none"
inverse=
"true"
lazy=
"extra"
>
<key
column=
"master_id"
not-null=
"true"
/>
<key
column=
"master_id"
not-null=
"true"
/>
<one-to-many
entity-name=
"com.xyst.dinas.biz.datamodel.RetailInfo
$
DinasTypeDetail"
/>
<one-to-many
entity-name=
"com.xyst.dinas.biz.datamodel.RetailInfo
Associated
DinasTypeDetail"
/>
</bag>
</bag>
</class>
</class>
<class
entity-name=
"com.xyst.dinas.biz.datamodel.RetailInfo
$
DinasTypeDetail"
table=
"xyst_dinas_biz_retail_dinas_type_detail"
>
<class
entity-name=
"com.xyst.dinas.biz.datamodel.RetailInfo
Associated
DinasTypeDetail"
table=
"xyst_dinas_biz_retail_dinas_type_detail"
>
<tuplizer
entity-mode=
"dynamic-map"
class=
"com.beecode.bcp.store.hibernate.KObjectEntityTuplizer"
/>
<tuplizer
entity-mode=
"dynamic-map"
class=
"com.beecode.bcp.store.hibernate.KObjectEntityTuplizer"
/>
<id
name=
"id"
type=
"uuid-binary"
column=
"id"
length=
"16"
>
<id
name=
"id"
type=
"uuid-binary"
column=
"id"
length=
"16"
>
<generator
class=
"assigned"
/>
<generator
class=
"assigned"
/>
...
...
backend/xyst.dinas.contract/src/main/resources/config/Contract.hbm.xml
View file @
a951ebd7
...
@@ -143,10 +143,10 @@
...
@@ -143,10 +143,10 @@
</property>
</property>
<bag
name=
"contractDetails"
lazy=
"true"
fetch=
"select"
inverse=
"true"
>
<bag
name=
"contractDetails"
lazy=
"true"
fetch=
"select"
inverse=
"true"
>
<key
column=
"master_id"
not-null=
"true"
/>
<key
column=
"master_id"
not-null=
"true"
/>
<one-to-many
entity-name=
"com.xyst.dinas.contract.datamodel.Contract
$
contractDetail"
/>
<one-to-many
entity-name=
"com.xyst.dinas.contract.datamodel.Contract
Associated
contractDetail"
/>
</bag>
</bag>
</class>
</class>
<class
entity-name=
"com.xyst.dinas.contract.datamodel.Contract
$
contractDetail"
table=
"xyst_dinas_contract_detail"
>
<class
entity-name=
"com.xyst.dinas.contract.datamodel.Contract
Associated
contractDetail"
table=
"xyst_dinas_contract_detail"
>
<tuplizer
entity-mode=
"dynamic-map"
class=
"com.beecode.bcp.store.hibernate.KObjectEntityTuplizer"
/>
<tuplizer
entity-mode=
"dynamic-map"
class=
"com.beecode.bcp.store.hibernate.KObjectEntityTuplizer"
/>
<id
name=
"id"
type=
"uuid-binary"
column=
"id"
length=
"16"
>
<id
name=
"id"
type=
"uuid-binary"
column=
"id"
length=
"16"
>
<generator
class=
"uuid2"
/>
<generator
class=
"uuid2"
/>
...
...
backend/xyst.dinas.price/src/main/java/com/xyst/dinas/price/constant/PriceAdjustmentConstant.java
View file @
a951ebd7
...
@@ -10,6 +10,6 @@ public interface PriceAdjustmentConstant {
...
@@ -10,6 +10,6 @@ public interface PriceAdjustmentConstant {
/**
/**
* 子项目的实体名
* 子项目的实体名
*/
*/
String
DETAIL_ENTITY
=
"com.xyst.dinas.price.datamodel.PriceAdjustment
$
DinasTypeDetails"
;
String
DETAIL_ENTITY
=
"com.xyst.dinas.price.datamodel.PriceAdjustment
Associated
DinasTypeDetails"
;
}
}
backend/xyst.dinas.price/src/main/java/com/xyst/dinas/price/entity/PriceAdjustmentSearchEntity.java
View file @
a951ebd7
...
@@ -12,6 +12,7 @@ import java.util.UUID;
...
@@ -12,6 +12,7 @@ import java.util.UUID;
*/
*/
public
class
PriceAdjustmentSearchEntity
<
T
>
extends
Page
<
T
>
{
public
class
PriceAdjustmentSearchEntity
<
T
>
extends
Page
<
T
>
{
private
Integer
applyStatus
;
private
Integer
applyStatus
;
private
Integer
adjustmentStatus
;
private
List
<
UUID
>
stationIds
;
private
List
<
UUID
>
stationIds
;
private
List
<
UUID
>
regionalCompanyIds
;
private
List
<
UUID
>
regionalCompanyIds
;
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd"
)
...
@@ -79,4 +80,12 @@ public class PriceAdjustmentSearchEntity<T> extends Page<T> {
...
@@ -79,4 +80,12 @@ public class PriceAdjustmentSearchEntity<T> extends Page<T> {
public
void
setApplyEndDate
(
Date
applyEndDate
)
{
public
void
setApplyEndDate
(
Date
applyEndDate
)
{
this
.
applyEndDate
=
applyEndDate
;
this
.
applyEndDate
=
applyEndDate
;
}
}
public
Integer
getAdjustmentStatus
()
{
return
adjustmentStatus
;
}
public
void
setAdjustmentStatus
(
Integer
adjustmentStatus
)
{
this
.
adjustmentStatus
=
adjustmentStatus
;
}
}
}
backend/xyst.dinas.price/src/main/java/com/xyst/dinas/price/internal/dao/PriceAdjustmentDaoImpl.java
View file @
a951ebd7
This diff is collapsed.
Click to expand it.
backend/xyst.dinas.price/src/main/java/com/xyst/dinas/price/internal/service/PriceAdjustmentServiceImpl.java
View file @
a951ebd7
...
@@ -8,6 +8,7 @@ import com.xyst.dinas.price.entity.PriceAdjustmentEchartReturnEntity;
...
@@ -8,6 +8,7 @@ import com.xyst.dinas.price.entity.PriceAdjustmentEchartReturnEntity;
import
com.xyst.dinas.price.entity.PriceAdjustmentEchartSearchEntity
;
import
com.xyst.dinas.price.entity.PriceAdjustmentEchartSearchEntity
;
import
com.xyst.dinas.price.entity.PriceAdjustmentSearchEntity
;
import
com.xyst.dinas.price.entity.PriceAdjustmentSearchEntity
;
import
com.xyst.dinas.price.entity.StationDinasTypePriceDetail
;
import
com.xyst.dinas.price.entity.StationDinasTypePriceDetail
;
import
com.xyst.dinas.price.enumeration.PriceAdjustmentAdjustmentStatusEnum
;
import
com.xyst.dinas.price.service.PriceAdjustmentService
;
import
com.xyst.dinas.price.service.PriceAdjustmentService
;
import
com.xyst.dinas.price.service.RegionalCompanyPriceAuthorityService
;
import
com.xyst.dinas.price.service.RegionalCompanyPriceAuthorityService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
@@ -139,8 +140,9 @@ public class PriceAdjustmentServiceImpl implements PriceAdjustmentService {
...
@@ -139,8 +140,9 @@ public class PriceAdjustmentServiceImpl implements PriceAdjustmentService {
return
;
return
;
}
}
for
(
KObject
kObject
:
kObjects
)
{
for
(
KObject
kObject
:
kObjects
)
{
kObject
.
set
(
"applyStatus"
,
BizProcessState
.
DONE_WITH_REJECT
.
getValue
());
// kObject.set("applyStatus", BizProcessState.DONE_WITH_REJECT.getValue());
kObject
.
set
(
"failureReason"
,
"本条数据所属生效日已有新记录审批通过,本条系统自动驳回"
);
kObject
.
set
(
"adjustmentStatus"
,
PriceAdjustmentAdjustmentStatusEnum
.
ABOLITION
.
getValue
());
// kObject.set("failureReason", "本条数据所属生效日已有新记录审批通过,本条系统自动废弃");
priceAdjustmentDao
.
modify
(
kObject
);
priceAdjustmentDao
.
modify
(
kObject
);
}
}
...
...
backend/xyst.dinas.price/src/main/java/com/xyst/dinas/price/web/PriceAdjustmentController.java
View file @
a951ebd7
...
@@ -16,6 +16,7 @@ import com.xyst.dinas.price.entity.PriceAdjustmentSearchEntity;
...
@@ -16,6 +16,7 @@ import com.xyst.dinas.price.entity.PriceAdjustmentSearchEntity;
import
com.xyst.dinas.price.service.PriceAdjustmentService
;
import
com.xyst.dinas.price.service.PriceAdjustmentService
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.format.annotation.DateTimeFormat
;
import
org.springframework.util.CollectionUtils
;
import
org.springframework.util.CollectionUtils
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
...
@@ -215,13 +216,29 @@ public class PriceAdjustmentController {
...
@@ -215,13 +216,29 @@ public class PriceAdjustmentController {
*/
*/
@GetMapping
(
"getSameMessage"
)
@GetMapping
(
"getSameMessage"
)
public
ResponseObj
getSameAdjustmentDateAndLtCreateDateInfo
(
Date
adjustmentDate
,
Date
createTime
,
UUID
stationId
){
public
ResponseObj
getSameAdjustmentDateAndLtCreateDateInfo
(
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd"
)
@RequestParam
(
"adjustmentDate"
)
Date
adjustmentDate
,
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@RequestParam
(
"createTime"
)
Date
createTime
,
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd"
)
@RequestParam
(
"stationId"
)
UUID
stationId
){
List
<
KObject
>
sameAdjustmentDateAndLtCreateDateInfo
=
priceAdjustmentService
.
getSameAdjustmentDateAndLtCreateDateInfo
(
adjustmentDate
,
createTime
,
stationId
);
List
<
KObject
>
sameAdjustmentDateAndLtCreateDateInfo
=
priceAdjustmentService
.
getSameAdjustmentDateAndLtCreateDateInfo
(
adjustmentDate
,
createTime
,
stationId
);
if
(
CollectionUtils
.
isEmpty
(
sameAdjustmentDateAndLtCreateDateInfo
)){
if
(
CollectionUtils
.
isEmpty
(
sameAdjustmentDateAndLtCreateDateInfo
)){
String
formart1DateString
=
DateTimeUtils
.
getFormart1DateString
(
adjustmentDate
);
String
formart1DateString
=
DateTimeUtils
.
getFormart1DateString
(
adjustmentDate
);
String
message
=
"检查到该场站生效日期为["
+
formart1DateString
+
"]下有"
+
sameAdjustmentDateAndLtCreateDateInfo
.
size
()+
"条早先创建并审批通过的记录,当该记录提交审批通过后,会将其它记录置为驳回"
;
String
message
=
"检查到该场站生效日期为["
+
formart1DateString
+
"]下有"
+
sameAdjustmentDateAndLtCreateDateInfo
.
size
()+
"条早先创建并审批通过的记录,当该记录提交审批通过后,会将其它记录置为失效"
;
return
ResponseObj
.
success
(
message
,
sameAdjustmentDateAndLtCreateDateInfo
);
return
ResponseObj
.
error
(
message
,
sameAdjustmentDateAndLtCreateDateInfo
);
}
return
ResponseObj
.
success
();
}
/**
* 数据相同时候的提示
* @return
*/
@GetMapping
(
"getSameMessageById"
)
public
ResponseObj
getSameById
(
@RequestParam
(
"id"
)
UUID
id
){
KObject
byId
=
priceAdjustmentService
.
getById
(
id
);
List
<
KObject
>
sameAdjustmentDateAndLtCreateDateInfo
=
priceAdjustmentService
.
getSameAdjustmentDateAndLtCreateDateInfo
(
byId
.
getDate
(
"adjustmentDate"
),
byId
.
getDate
(
"createTime"
)
,
byId
.
get
(
"station"
).
getUuid
(
"Id"
));
if
(
CollectionUtils
.
isEmpty
(
sameAdjustmentDateAndLtCreateDateInfo
)){
String
formart1DateString
=
DateTimeUtils
.
getFormart1DateString
(
byId
.
getDate
(
"adjustmentDate"
));
String
message
=
"检查到该场站生效日期为["
+
formart1DateString
+
"]下有"
+
sameAdjustmentDateAndLtCreateDateInfo
.
size
()+
"条早先创建并审批通过的记录,当该记录提交审批通过后,会将其它记录置为失效"
;
return
ResponseObj
.
error
(
message
,
sameAdjustmentDateAndLtCreateDateInfo
);
}
}
return
ResponseObj
.
success
();
return
ResponseObj
.
success
();
}
}
...
...
backend/xyst.dinas.price/src/main/resources/com/xyst/dinas/price/datamodel/PriceAdjustment.jmx
View file @
a951ebd7
...
@@ -151,7 +151,7 @@
...
@@ -151,7 +151,7 @@
<m:id>
862d0182-3296-4481-a1d9-6b0c6fe91aa4
</m:id>
<m:id>
862d0182-3296-4481-a1d9-6b0c6fe91aa4
</m:id>
<m:name>
dinasTypeDetails
</m:name>
<m:name>
dinasTypeDetails
</m:name>
<m:title>
包含砂石种类和砂石价格子表
</m:title>
<m:title>
包含砂石种类和砂石价格子表
</m:title>
<m:type>
com.xyst.dinas.price.datamodel.PriceAdjustment
$
DinasTypeDetails[]
</m:type>
<m:type>
com.xyst.dinas.price.datamodel.PriceAdjustment
Associated
DinasTypeDetails[]
</m:type>
<m:description></m:description>
<m:description></m:description>
<m:default></m:default>
<m:default></m:default>
</m:attribute>
</m:attribute>
...
...
backend/xyst.dinas.price/src/main/resources/com/xyst/dinas/price/datamodel/PriceAdjustment
$
DinasTypeDetails.jmx
→
backend/xyst.dinas.price/src/main/resources/com/xyst/dinas/price/datamodel/PriceAdjustment
Associated
DinasTypeDetails.jmx
View file @
a951ebd7
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<metadata
xmlns=
"http://www.beecode.cn/schema/amino-metadata"
xmlns:m=
"http://www.beecode.cn/schema/bcp-type"
>
<metadata
xmlns=
"http://www.beecode.cn/schema/amino-metadata"
xmlns:m=
"http://www.beecode.cn/schema/bcp-type"
>
<specification>
1.0
</specification>
<specification>
1.0
</specification>
<id>
cf735008-b2cc-40e3-b2db-843d19b873d1
</id>
<id>
cf735008-b2cc-40e3-b2db-843d19b873d1
</id>
<name>
com.xyst.dinas.price.datamodel.PriceAdjustment
$
DinasTypeDetails
</name>
<name>
com.xyst.dinas.price.datamodel.PriceAdjustment
Associated
DinasTypeDetails
</name>
<title>
调价申请子表
</title>
<title>
调价申请子表
</title>
<description>
调价申请采砂类型和砂石价格子表
</description>
<description>
调价申请采砂类型和砂石价格子表
</description>
<define>
bcp.type.Class
</define>
<define>
bcp.type.Class
</define>
...
...
backend/xyst.dinas.price/src/main/resources/config/PriceAdjustment.hbm.xml
View file @
a951ebd7
...
@@ -106,10 +106,10 @@
...
@@ -106,10 +106,10 @@
</property>
</property>
<bag
name=
"dinasTypeDetails"
lazy=
"true"
fetch=
"select"
inverse=
"true"
>
<bag
name=
"dinasTypeDetails"
lazy=
"true"
fetch=
"select"
inverse=
"true"
>
<key
column=
"master_id"
not-null=
"true"
/>
<key
column=
"master_id"
not-null=
"true"
/>
<one-to-many
entity-name=
"com.xyst.dinas.price.datamodel.PriceAdjustment
$
DinasTypeDetails"
/>
<one-to-many
entity-name=
"com.xyst.dinas.price.datamodel.PriceAdjustment
Associated
DinasTypeDetails"
/>
</bag>
</bag>
</class>
</class>
<class
entity-name=
"com.xyst.dinas.price.datamodel.PriceAdjustment
$
DinasTypeDetails"
table=
"xyst_dinas_price_adjustment_dinas_type_detail"
>
<class
entity-name=
"com.xyst.dinas.price.datamodel.PriceAdjustment
Associated
DinasTypeDetails"
table=
"xyst_dinas_price_adjustment_dinas_type_detail"
>
<tuplizer
entity-mode=
"dynamic-map"
class=
"com.beecode.bcp.store.hibernate.KObjectEntityTuplizer"
/>
<tuplizer
entity-mode=
"dynamic-map"
class=
"com.beecode.bcp.store.hibernate.KObjectEntityTuplizer"
/>
<id
name=
"id"
type=
"uuid-binary"
column=
"id"
length=
"16"
>
<id
name=
"id"
type=
"uuid-binary"
column=
"id"
length=
"16"
>
<generator
class=
"assigned"
/>
<generator
class=
"assigned"
/>
...
...
backend/xyst.dinas.production/src/main/java/com/xyst/dinas/production/constant/ProductionPlanReportConstant.java
View file @
a951ebd7
...
@@ -10,6 +10,6 @@ public interface ProductionPlanReportConstant {
...
@@ -10,6 +10,6 @@ public interface ProductionPlanReportConstant {
/**
/**
* 子项目的实体名
* 子项目的实体名
*/
*/
String
DETAIL_ENTITY
=
"com.xyst.dinas.production.datamodel.ProductionPlanReport
$
DinasTypeDetails"
;
String
DETAIL_ENTITY
=
"com.xyst.dinas.production.datamodel.ProductionPlanReport
Associated
DinasTypeDetails"
;
}
}
backend/xyst.dinas.production/src/main/java/com/xyst/dinas/production/constant/SandMiningConstant.java
View file @
a951ebd7
...
@@ -9,6 +9,6 @@ public interface SandMiningConstant {
...
@@ -9,6 +9,6 @@ public interface SandMiningConstant {
/**
/**
* 实体名
* 实体名
*/
*/
String
STATION_DETAIL_ENTITY
=
"com.xyst.dinas.production.datamodel.SandMining
$
SandMiningStationDetail"
;
String
STATION_DETAIL_ENTITY
=
"com.xyst.dinas.production.datamodel.SandMining
Associated
SandMiningStationDetail"
;
}
}
backend/xyst.dinas.production/src/main/resources/com/xyst/dinas/production/datamodel/ProductionPlanReport.jmx
View file @
a951ebd7
...
@@ -82,7 +82,7 @@
...
@@ -82,7 +82,7 @@
<m:id>
862d0182-3296-4481-a1d9-6b0c6fe91aa4
</m:id>
<m:id>
862d0182-3296-4481-a1d9-6b0c6fe91aa4
</m:id>
<m:name>
dinasTypeDetails
</m:name>
<m:name>
dinasTypeDetails
</m:name>
<m:title>
包含砂石种类和砂石量子表
</m:title>
<m:title>
包含砂石种类和砂石量子表
</m:title>
<m:type>
com.xyst.dinas.production.datamodel.ProductionPlanReport
$
DinasTypeDetails[]
</m:type>
<m:type>
com.xyst.dinas.production.datamodel.ProductionPlanReport
Associated
DinasTypeDetails[]
</m:type>
<m:description></m:description>
<m:description></m:description>
<m:default></m:default>
<m:default></m:default>
</m:attribute>
</m:attribute>
...
...
backend/xyst.dinas.production/src/main/resources/com/xyst/dinas/production/datamodel/ProductionPlanReport
$
DinasTypeDetails.jmx
→
backend/xyst.dinas.production/src/main/resources/com/xyst/dinas/production/datamodel/ProductionPlanReport
Associated
DinasTypeDetails.jmx
View file @
a951ebd7
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<metadata
xmlns=
"http://www.beecode.cn/schema/amino-metadata"
xmlns:m=
"http://www.beecode.cn/schema/bcp-type"
>
<metadata
xmlns=
"http://www.beecode.cn/schema/amino-metadata"
xmlns:m=
"http://www.beecode.cn/schema/bcp-type"
>
<specification>
1.0
</specification>
<specification>
1.0
</specification>
<id>
224beb45-2976-49d7-b408-6fd3c208494e
</id>
<id>
224beb45-2976-49d7-b408-6fd3c208494e
</id>
<name>
com.xyst.dinas.production.datamodel.ProductionPlanReport
$
DinasTypeDetails
</name>
<name>
com.xyst.dinas.production.datamodel.ProductionPlanReport
Associated
DinasTypeDetails
</name>
<title>
生产计划子表
</title>
<title>
生产计划子表
</title>
<description>
生产计划采砂类型和砂石量子表
</description>
<description>
生产计划采砂类型和砂石量子表
</description>
<define>
bcp.type.Class
</define>
<define>
bcp.type.Class
</define>
...
...
backend/xyst.dinas.production/src/main/resources/com/xyst/dinas/production/datamodel/SandMining.jmx
View file @
a951ebd7
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<dependency>
com.xyst.dinas.biz.datamodel.Station
</dependency>
<dependency>
com.xyst.dinas.biz.datamodel.Station
</dependency>
<dependency>
com.xyst.dinas.biz.datamodel.ShipInfo
</dependency>
<dependency>
com.xyst.dinas.biz.datamodel.ShipInfo
</dependency>
<dependency>
com.xyst.dinas.biz.datamodel.SandMiningArea
</dependency>
<dependency>
com.xyst.dinas.biz.datamodel.SandMiningArea
</dependency>
<dependency>
com.xyst.dinas.production.datamodel.SandMining
$
SandMiningStationDetail
</dependency>
<dependency>
com.xyst.dinas.production.datamodel.SandMining
Associated
SandMiningStationDetail
</dependency>
<content>
<content>
<m:class>
<m:class>
<m:parents>
<m:parents>
...
@@ -151,7 +151,7 @@
...
@@ -151,7 +151,7 @@
<m:id>
923fc243-b92b-45d5-8876-a8cad89b5ac5
</m:id>
<m:id>
923fc243-b92b-45d5-8876-a8cad89b5ac5
</m:id>
<m:name>
stationDetails
</m:name>
<m:name>
stationDetails
</m:name>
<m:title>
包含场站子表
</m:title>
<m:title>
包含场站子表
</m:title>
<m:type>
com.xyst.dinas.production.datamodel.SandMining
$
SandMiningStationDetail[]
</m:type>
<m:type>
com.xyst.dinas.production.datamodel.SandMining
Associated
SandMiningStationDetail[]
</m:type>
<m:description></m:description>
<m:description></m:description>
<m:default></m:default>
<m:default></m:default>
</m:attribute>
</m:attribute>
...
...
backend/xyst.dinas.production/src/main/resources/com/xyst/dinas/production/datamodel/SandMining
$
SandMiningStationDetail.jmx
→
backend/xyst.dinas.production/src/main/resources/com/xyst/dinas/production/datamodel/SandMining
Associated
SandMiningStationDetail.jmx
View file @
a951ebd7
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<metadata
xmlns=
"http://www.beecode.cn/schema/amino-metadata"
xmlns:m=
"http://www.beecode.cn/schema/bcp-type"
>
<metadata
xmlns=
"http://www.beecode.cn/schema/amino-metadata"
xmlns:m=
"http://www.beecode.cn/schema/bcp-type"
>
<specification>
1.0
</specification>
<specification>
1.0
</specification>
<id>
5eb36512-4772-4397-a40e-1d257f005278
</id>
<id>
5eb36512-4772-4397-a40e-1d257f005278
</id>
<name>
com.xyst.dinas.production.datamodel.SandMining
$
SandMiningStationDetail
</name>
<name>
com.xyst.dinas.production.datamodel.SandMining
Associated
SandMiningStationDetail
</name>
<title>
采砂许可证场站表
</title>
<title>
采砂许可证场站表
</title>
<define>
bcp.type.Class
</define>
<define>
bcp.type.Class
</define>
<define-version>
1.0
</define-version>
<define-version>
1.0
</define-version>
...
...
backend/xyst.dinas.production/src/main/resources/config/ProductionPlanReport.hbm.xml
View file @
a951ebd7
...
@@ -69,10 +69,10 @@
...
@@ -69,10 +69,10 @@
</property>
</property>
<bag
name=
"dinasTypeDetails"
lazy=
"true"
fetch=
"select"
inverse=
"true"
>
<bag
name=
"dinasTypeDetails"
lazy=
"true"
fetch=
"select"
inverse=
"true"
>
<key
column=
"master_id"
not-null=
"true"
/>
<key
column=
"master_id"
not-null=
"true"
/>
<one-to-many
entity-name=
"com.xyst.dinas.production.datamodel.ProductionPlanReport
$
DinasTypeDetails"
/>
<one-to-many
entity-name=
"com.xyst.dinas.production.datamodel.ProductionPlanReport
Associated
DinasTypeDetails"
/>
</bag>
</bag>
</class>
</class>
<class
entity-name=
"com.xyst.dinas.production.datamodel.ProductionPlanReport
$
DinasTypeDetails"
table=
"xyst_dinas_production_plan_report_dinas_type_detail"
>
<class
entity-name=
"com.xyst.dinas.production.datamodel.ProductionPlanReport
Associated
DinasTypeDetails"
table=
"xyst_dinas_production_plan_report_dinas_type_detail"
>
<tuplizer
entity-mode=
"dynamic-map"
class=
"com.beecode.bcp.store.hibernate.KObjectEntityTuplizer"
/>
<tuplizer
entity-mode=
"dynamic-map"
class=
"com.beecode.bcp.store.hibernate.KObjectEntityTuplizer"
/>
<id
name=
"id"
type=
"uuid-binary"
column=
"id"
length=
"16"
>
<id
name=
"id"
type=
"uuid-binary"
column=
"id"
length=
"16"
>
<generator
class=
"assigned"
/>
<generator
class=
"assigned"
/>
...
...
backend/xyst.dinas.production/src/main/resources/config/SandMining.hbm.xml
View file @
a951ebd7
...
@@ -108,7 +108,7 @@
...
@@ -108,7 +108,7 @@
<bag
name=
"stationDetails"
lazy=
"true"
fetch=
"select"
inverse=
"true"
>
<bag
name=
"stationDetails"
lazy=
"true"
fetch=
"select"
inverse=
"true"
>
<key
column=
"master_id"
not-null=
"true"
/>
<key
column=
"master_id"
not-null=
"true"
/>
<one-to-many
entity-name=
"com.xyst.dinas.production.datamodel.SandMining
$
SandMiningStationDetail"
/>
<one-to-many
entity-name=
"com.xyst.dinas.production.datamodel.SandMining
Associated
SandMiningStationDetail"
/>
</bag>
</bag>
<property
name=
"sandMiningRange"
type=
"nstring"
not-null=
"false"
>
<property
name=
"sandMiningRange"
type=
"nstring"
not-null=
"false"
>
<column
name=
"sand_mining_range"
length=
"3000"
>
<column
name=
"sand_mining_range"
length=
"3000"
>
...
@@ -137,7 +137,7 @@
...
@@ -137,7 +137,7 @@
</property>
</property>
</class>
</class>
<class
entity-name=
"com.xyst.dinas.production.datamodel.SandMining
$
SandMiningStationDetail"
table=
"xyst_dinas_production_sand_mining_station_detail"
>
<class
entity-name=
"com.xyst.dinas.production.datamodel.SandMining
Associated
SandMiningStationDetail"
table=
"xyst_dinas_production_sand_mining_station_detail"
>
<tuplizer
entity-mode=
"dynamic-map"
class=
"com.beecode.bcp.store.hibernate.KObjectEntityTuplizer"
/>
<tuplizer
entity-mode=
"dynamic-map"
class=
"com.beecode.bcp.store.hibernate.KObjectEntityTuplizer"
/>
<id
name=
"id"
type=
"uuid-binary"
column=
"id"
length=
"16"
>
<id
name=
"id"
type=
"uuid-binary"
column=
"id"
length=
"16"
>
<generator
class=
"assigned"
/>
<generator
class=
"assigned"
/>
...
...
backend/xyst.dinas.project/src/main/java/com/xyst/dinas/project/constant/ProjectFiledConstant.java
View file @
a951ebd7
...
@@ -7,7 +7,7 @@ public interface ProjectFiledConstant {
...
@@ -7,7 +7,7 @@ public interface ProjectFiledConstant {
*/
*/
String
PROJECTFILED_NTITY
=
"com.xyst.dinas.project.datamodel.ProjectFiled"
;
String
PROJECTFILED_NTITY
=
"com.xyst.dinas.project.datamodel.ProjectFiled"
;
String
PROJECTFILED_DINASTYPE_ENTITY
=
"com.xyst.dinas.project.datamodel.ProjectFiled
$
ProjectFiledDinasDetail"
;
String
PROJECTFILED_DINASTYPE_ENTITY
=
"com.xyst.dinas.project.datamodel.ProjectFiled
Associated
ProjectFiledDinasDetail"
;
/** 项目名称*/
/** 项目名称*/
String
PROJECT_NAME
=
"projectName"
;
String
PROJECT_NAME
=
"projectName"
;
...
...
backend/xyst.dinas.project/src/main/resources/config/ProjectFiled.hbm.xml
View file @
a951ebd7
...
@@ -71,14 +71,14 @@
...
@@ -71,14 +71,14 @@
</property>
</property>
<bag
name=
"ProjectFiledDinasDetails"
lazy=
"true"
fetch=
"select"
inverse=
"true"
>
<bag
name=
"ProjectFiledDinasDetails"
lazy=
"true"
fetch=
"select"
inverse=
"true"
>
<key
column=
"master_id"
not-null=
"true"
/>
<key
column=
"master_id"
not-null=
"true"
/>
<one-to-many
entity-name=
"com.xyst.dinas.project.datamodel.ProjectFiled
$
ProjectFiledDinasDetail"
/>
<one-to-many
entity-name=
"com.xyst.dinas.project.datamodel.ProjectFiled
Associated
ProjectFiledDinasDetail"
/>
</bag>
</bag>
<bag
name=
"ProjectSubContractorDetails"
lazy=
"true"
fetch=
"select"
inverse=
"true"
>
<bag
name=
"ProjectSubContractorDetails"
lazy=
"true"
fetch=
"select"
inverse=
"true"
>
<key
column=
"master_id"
not-null=
"true"
/>
<key
column=
"master_id"
not-null=
"true"
/>
<one-to-many
entity-name=
"com.xyst.dinas.project.datamodel.ProjectFiled
$
ProjectSubContractorDetail"
/>
<one-to-many
entity-name=
"com.xyst.dinas.project.datamodel.ProjectFiled
Associated
ProjectSubContractorDetail"
/>
</bag>
</bag>
</class>
</class>
<class
entity-name=
"com.xyst.dinas.project.datamodel.ProjectFiled
$
ProjectFiledDinasDetail"
table=
"xyst_dinas_project_filed_dinas_detail"
>
<class
entity-name=
"com.xyst.dinas.project.datamodel.ProjectFiled
Associated
ProjectFiledDinasDetail"
table=
"xyst_dinas_project_filed_dinas_detail"
>
<tuplizer
entity-mode=
"dynamic-map"
class=
"com.beecode.bcp.store.hibernate.KObjectEntityTuplizer"
/>
<tuplizer
entity-mode=
"dynamic-map"
class=
"com.beecode.bcp.store.hibernate.KObjectEntityTuplizer"
/>
<id
name=
"id"
type=
"uuid-binary"
column=
"id"
length=
"16"
>
<id
name=
"id"
type=
"uuid-binary"
column=
"id"
length=
"16"
>
<generator
class=
"assigned"
/>
<generator
class=
"assigned"
/>
...
@@ -93,7 +93,7 @@
...
@@ -93,7 +93,7 @@
<column
name=
"master_id"
not-null=
"false"
/>
<column
name=
"master_id"
not-null=
"false"
/>
</many-to-one>
</many-to-one>
</class>
</class>
<class
entity-name=
"com.xyst.dinas.project.datamodel.ProjectFiled
$
ProjectSubContractorDetail"
table=
"xyst_dinas_project_sub_contractor_detail"
>
<class
entity-name=
"com.xyst.dinas.project.datamodel.ProjectFiled
Associated
ProjectSubContractorDetail"
table=
"xyst_dinas_project_sub_contractor_detail"
>
<tuplizer
entity-mode=
"dynamic-map"
class=
"com.beecode.bcp.store.hibernate.KObjectEntityTuplizer"
/>
<tuplizer
entity-mode=
"dynamic-map"
class=
"com.beecode.bcp.store.hibernate.KObjectEntityTuplizer"
/>
<id
name=
"id"
type=
"uuid-binary"
column=
"id"
length=
"16"
>
<id
name=
"id"
type=
"uuid-binary"
column=
"id"
length=
"16"
>
<generator
class=
"assigned"
/>
<generator
class=
"assigned"
/>
...
...
backend/xyst.dinas.sales/src/main/java/com/xyst/dinas/sales/constant/SalesPlanConstant.java
View file @
a951ebd7
...
@@ -5,7 +5,7 @@ public class SalesPlanConstant {
...
@@ -5,7 +5,7 @@ public class SalesPlanConstant {
/** 销售计划主表-实体*/
/** 销售计划主表-实体*/
public
static
final
String
ENTITY
=
"com.xyst.dinas.sales.datamodel.SalesPlan"
;
public
static
final
String
ENTITY
=
"com.xyst.dinas.sales.datamodel.SalesPlan"
;
/** 销售计划子表-实体*/
/** 销售计划子表-实体*/
public
static
final
String
ENTITY_DETAIL
=
"com.xyst.dinas.sales.datamodel.SalesPlan
$
SalesPlanDetail"
;
public
static
final
String
ENTITY_DETAIL
=
"com.xyst.dinas.sales.datamodel.SalesPlan
Associated
SalesPlanDetail"
;
/** 销售计划子表-名称*/
/** 销售计划子表-名称*/
public
static
final
String
SalesPlanDetails
=
"SalesPlanDetails"
;
public
static
final
String
SalesPlanDetails
=
"SalesPlanDetails"
;
...
...
backend/xyst.dinas.sales/src/main/resources/com/xyst/dinas/sales/advanquery/NeedPlanQueryView.jmx
View file @
a951ebd7
...
@@ -134,7 +134,7 @@
...
@@ -134,7 +134,7 @@
"title" : "详情",
"title" : "详情",
"action" : "openDetail",
"action" : "openDetail",
"param" : {
"param" : {
"detailModelName" : "com.xyst.dinas.sales.datamodel.NeedPlan
$
NeedPlanDetail",
"detailModelName" : "com.xyst.dinas.sales.datamodel.NeedPlan
Associated
NeedPlanDetail",
"columnList":[
"columnList":[
{
{
"key":"dinasType.dinasTypeName",
"key":"dinasType.dinasTypeName",
...
...
backend/xyst.dinas.sales/src/main/resources/com/xyst/dinas/sales/advanquery/SalesPlanQueryView.jmx
View file @
a951ebd7
...
@@ -147,7 +147,7 @@
...
@@ -147,7 +147,7 @@
"title" : "详情",
"title" : "详情",
"action" : "openDetail",
"action" : "openDetail",
"param" : {
"param" : {
"detailModelName" : "com.xyst.dinas.sales.datamodel.SalesPlan
$
SalesPlanDetail",
"detailModelName" : "com.xyst.dinas.sales.datamodel.SalesPlan
Associated
SalesPlanDetail",
"columnList":[
"columnList":[
{
{
"key":"dinasType.dinasTypeName",
"key":"dinasType.dinasTypeName",
...
...
backend/xyst.dinas.sales/src/main/resources/config/NeedPlan.hbm.xml
View file @
a951ebd7
...
@@ -77,10 +77,10 @@
...
@@ -77,10 +77,10 @@
</property>
</property>
<bag
name=
"NeedPlanDetails"
lazy=
"true"
fetch=
"select"
inverse=
"true"
>
<bag
name=
"NeedPlanDetails"
lazy=
"true"
fetch=
"select"
inverse=
"true"
>
<key
column=
"master_id"
not-null=
"true"
/>
<key
column=
"master_id"
not-null=
"true"
/>
<one-to-many
entity-name=
"com.xyst.dinas.sales.datamodel.NeedPlan
$
NeedPlanDetail"
/>
<one-to-many
entity-name=
"com.xyst.dinas.sales.datamodel.NeedPlan
Associated
NeedPlanDetail"
/>
</bag>
</bag>
</class>
</class>
<class
entity-name=
"com.xyst.dinas.sales.datamodel.NeedPlan
$
NeedPlanDetail"
table=
"xyst_dinas_sales_need_plan_detail"
>
<class
entity-name=
"com.xyst.dinas.sales.datamodel.NeedPlan
Associated
NeedPlanDetail"
table=
"xyst_dinas_sales_need_plan_detail"
>
<tuplizer
entity-mode=
"dynamic-map"
class=
"com.beecode.bcp.store.hibernate.KObjectEntityTuplizer"
/>
<tuplizer
entity-mode=
"dynamic-map"
class=
"com.beecode.bcp.store.hibernate.KObjectEntityTuplizer"
/>
<id
name=
"id"
type=
"uuid-binary"
column=
"id"
length=
"16"
>
<id
name=
"id"
type=
"uuid-binary"
column=
"id"
length=
"16"
>
<generator
class=
"assigned"
/>
<generator
class=
"assigned"
/>
...
...
backend/xyst.dinas.sales/src/main/resources/config/SalesPlan.hbm.xml
View file @
a951ebd7
...
@@ -64,10 +64,10 @@
...
@@ -64,10 +64,10 @@
<bag
name=
"SalesPlanDetails"
lazy=
"true"
fetch=
"select"
inverse=
"true"
>
<bag
name=
"SalesPlanDetails"
lazy=
"true"
fetch=
"select"
inverse=
"true"
>
<key
column=
"master_id"
not-null=
"true"
/>
<key
column=
"master_id"
not-null=
"true"
/>
<one-to-many
entity-name=
"com.xyst.dinas.sales.datamodel.SalesPlan
$
SalesPlanDetail"
/>
<one-to-many
entity-name=
"com.xyst.dinas.sales.datamodel.SalesPlan
Associated
SalesPlanDetail"
/>
</bag>
</bag>
</class>
</class>
<class
entity-name=
"com.xyst.dinas.sales.datamodel.SalesPlan
$
SalesPlanDetail"
table=
"xyst_dinas_sale_plan_detail"
>
<class
entity-name=
"com.xyst.dinas.sales.datamodel.SalesPlan
Associated
SalesPlanDetail"
table=
"xyst_dinas_sale_plan_detail"
>
<tuplizer
entity-mode=
"dynamic-map"
class=
"com.beecode.bcp.store.hibernate.KObjectEntityTuplizer"
/>
<tuplizer
entity-mode=
"dynamic-map"
class=
"com.beecode.bcp.store.hibernate.KObjectEntityTuplizer"
/>
<id
name=
"id"
type=
"uuid-binary"
column=
"id"
length=
"16"
>
<id
name=
"id"
type=
"uuid-binary"
column=
"id"
length=
"16"
>
<generator
class=
"uuid2"
/>
<generator
class=
"uuid2"
/>
...
...
backend/xyst.dinas.sales/src/main/resources/config/SalesPlanTemp.hbm.xml
View file @
a951ebd7
...
@@ -74,10 +74,10 @@
...
@@ -74,10 +74,10 @@
<bag
name=
"SalesPlanTempDetails"
lazy=
"true"
fetch=
"select"
inverse=
"true"
>
<bag
name=
"SalesPlanTempDetails"
lazy=
"true"
fetch=
"select"
inverse=
"true"
>
<key
column=
"master_id"
not-null=
"true"
/>
<key
column=
"master_id"
not-null=
"true"
/>
<one-to-many
entity-name=
"com.xyst.dinas.sales.datamodel.SalesPlanTemp
$
SalesPlanTempDetail"
/>
<one-to-many
entity-name=
"com.xyst.dinas.sales.datamodel.SalesPlanTemp
Associated
SalesPlanTempDetail"
/>
</bag>
</bag>
</class>
</class>
<class
entity-name=
"com.xyst.dinas.sales.datamodel.SalesPlanTemp
$
SalesPlanTempDetail"
table=
"xyst_dinas_sale_plan_temp_detail"
>
<class
entity-name=
"com.xyst.dinas.sales.datamodel.SalesPlanTemp
Associated
SalesPlanTempDetail"
table=
"xyst_dinas_sale_plan_temp_detail"
>
<tuplizer
entity-mode=
"dynamic-map"
class=
"com.beecode.bcp.store.hibernate.KObjectEntityTuplizer"
/>
<tuplizer
entity-mode=
"dynamic-map"
class=
"com.beecode.bcp.store.hibernate.KObjectEntityTuplizer"
/>
<id
name=
"id"
type=
"uuid-binary"
column=
"id"
length=
"16"
>
<id
name=
"id"
type=
"uuid-binary"
column=
"id"
length=
"16"
>
<generator
class=
"uuid2"
/>
<generator
class=
"uuid2"
/>
...
...
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