|
@@ -141,7 +141,23 @@ func TestProjectHistory(t *testing.T) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+func TestCoopHistoryService(t *testing.T) {
|
|
|
+ InitConf()
|
|
|
+ result, size_1, size_2, size_3, size_4 := GetPrList(&types.CoopHistoryReq{
|
|
|
+ PositionId: 935,
|
|
|
+ EntId: 221,
|
|
|
+ Buyer: "广州粤华物业有限公司",
|
|
|
+ ChannelType: "0",
|
|
|
+ })
|
|
|
+ log.Println(size_1, size_2, size_3, size_4)
|
|
|
+ for _, v := range result {
|
|
|
+ log.Println(fmt.Sprintf("%+v", v))
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
func TestInitNetwork(t *testing.T) {
|
|
|
+ //安徽公共资源交易集团项目管理有限公司
|
|
|
+ //广州粤华物业有限公司
|
|
|
InitConf()
|
|
|
inw := InitNetwork{
|
|
|
PositionId: 935,
|
|
@@ -149,7 +165,7 @@ func TestInitNetwork(t *testing.T) {
|
|
|
DeptId: 498,
|
|
|
UserId: 195,
|
|
|
EntName: "安徽公共资源交易集团项目管理有限公司",
|
|
|
- BusinessType: "",
|
|
|
+ BusinessType: "建筑工程,机械设备,信息技术",
|
|
|
}
|
|
|
inw.Init()
|
|
|
}
|