Ver código fonte

1.线下报名信息列表修改
2.线下报名信息驳回功能
3.拍卖商品管理列表增加出价记录入口

ytf 3 anos atrás
pai
commit
dc9200b7e0
20 arquivos alterados com 600 adições e 256 exclusões
  1. 7 0
      krock-api/krock-api-all/src/main/java/com/ydw/yunbuyer/api/pm/api/PmItemApi.java
  2. 16 0
      krock-jcebid-cp/krock-web-cp-all/src/main/java/com/ydw/yunbuyer/web/cp/business/pm/PmUnLineController.java
  3. 25 9
      krock-jcebid-cp/krock-web-cp-all/src/main/resources/static/view_cp_pm/pm/un_line/list.html
  4. 9 4
      krock-jcebid-cp/krock-web-cp-all/src/main/resources/static/view_cp_pm/pm/un_line_item/list.html
  5. 114 0
      krock-jcebid-cp/krock-web-cp-all/src/main/resources/static/view_cp_pm/pm/un_line_item/pm_info.html
  6. 306 230
      krock-jcebid-cp/krock-web-cp-all/src/main/resources/static/view_cp_pm/pm/verify/bdw_verify.html
  7. 7 0
      krock-pm/krock-api-pm/src/main/java/com/ydw/yunbuyer/api/pm/api/PmItemApi.java
  8. 16 0
      krock-pm/krock-service-pm/src/main/java/com/ydw/yunbuyer/serv_pm/service/PmItemServiceApiImpl.java
  9. 5 0
      krock-pm/krock-web-pm/src/main/java/com/ydw/yunbuyer/web/pm/action_api/IPmItemController.java
  10. 24 0
      krock-pm/krock-web-pm/src/main/java/com/ydw/yunbuyer/web/pm/controller/api/PmController.java
  11. 9 11
      krock-pm/krock-web-pm/src/main/java/com/ydw/yunbuyer/web/pm/controller_wxapp/BiddingPayController.java
  12. 2 1
      krock-pm/krock-web-pm/src/main/java/com/ydw/yunbuyer/web/pm/dao/PmItemDao.java
  13. 3 0
      krock-pm/krock-web-pm/src/main/java/com/ydw/yunbuyer/web/pm/dao/WxPmDao.java
  14. 16 0
      krock-pm/krock-web-pm/src/main/java/com/ydw/yunbuyer/web/pm/daoImpl/PmItemDaoImpl.java
  15. 16 0
      krock-pm/krock-web-pm/src/main/java/com/ydw/yunbuyer/web/pm/daoImpl/WxPmDaoImpl.java
  16. 4 1
      krock-pm/krock-web-pm/src/main/java/com/ydw/yunbuyer/web/pm/daoImpl/WxSubmitDaoImpl.java
  17. 1 0
      krock-pm/krock-web-pm/src/main/java/com/ydw/yunbuyer/web/pm/service/PmItemService.java
  18. 4 0
      krock-pm/krock-web-pm/src/main/java/com/ydw/yunbuyer/web/pm/service/WxPmService.java
  19. 5 0
      krock-pm/krock-web-pm/src/main/java/com/ydw/yunbuyer/web/pm/serviceImpl/PmItemServiceImpl.java
  20. 11 0
      krock-pm/krock-web-pm/src/main/java/com/ydw/yunbuyer/web/pm/serviceImpl/WxPmServiceImpl.java

+ 7 - 0
krock-api/krock-api-all/src/main/java/com/ydw/yunbuyer/api/pm/api/PmItemApi.java

@@ -610,5 +610,12 @@ public interface PmItemApi {
610 610
 	
611 611
 	@RequestMapping("/set_script")
612 612
 	public void set_script(@RequestParam("kid") String kid,@RequestParam("script_pm") String script_pm);
613
+
614
+	/**
615
+	 * 拍卖详情
616
+	 * @return
617
+	 */
618
+	@RequestMapping("/pm_record_info")
619
+	PagePackage pm_record_info(@RequestBody PagePackage pagePackage);
613 620
 	// ----------------------- 通用copy End ---------------------------------------
614 621
 }

+ 16 - 0
krock-jcebid-cp/krock-web-cp-all/src/main/java/com/ydw/yunbuyer/web/cp/business/pm/PmUnLineController.java

@@ -1,5 +1,6 @@
1 1
 package com.ydw.yunbuyer.web.cp.business.pm;
2 2
 
3
+import com.alibaba.fastjson.JSONObject;
3 4
 import com.ydw.yunbuyer.api.pm.api.PmItemApi;
4 5
 import com.ydw.yunbuyer.api.pm.entity.PmItem;
5 6
 import com.ydw.yunbuyer.common.utils.json.JsonTools;
@@ -72,4 +73,19 @@ public class PmUnLineController extends ProjBaseAction {
72 73
 		pmItemApi.set_script(pmItem.getKid(),pmItem.getScript_pm());
73 74
 	}
74 75
 
76
+	/**
77
+	 * 拍卖详情
78
+	 * @return
79
+	 */
80
+	@ApiOperation("拍卖详情")
81
+	@RequestMapping("/pm_record_info")
82
+	public String pm_record_info() {
83
+		JSONObject srh = super.pagePackage.getSrh();
84
+		if (srh.getString("pm_item_id") == "" || srh.getString("pm_item_id").length()<1){
85
+			return super.getPageResult(pagePackage);
86
+		}
87
+		PagePackage pagePackage = pmItemApi.pm_record_info(super.pagePackage);
88
+		pagePackage.getPage().setList(pagePackage.getData());
89
+		return super.getPageResult(pagePackage);
90
+	}
75 91
 }

+ 25 - 9
krock-jcebid-cp/krock-web-cp-all/src/main/resources/static/view_cp_pm/pm/un_line/list.html

@@ -94,7 +94,7 @@
94 94
                             },
95 95
                             {
96 96
                                 xtype : "textfield",
97
-                                fieldLabel : "标名称",
97
+                                fieldLabel : "标名称",
98 98
                                 name : "srh.item_name",
99 99
                                 labelAlign : 'right'
100 100
                             }
@@ -166,12 +166,27 @@
166 166
                         dataIndex : 'id_card',
167 167
                         flex : 1
168 168
                     },{
169
-                        text : '标名称',
170
-                        tooltip : '标名称',
169
+                        text : '标名称',
170
+                        tooltip : '标名称',
171 171
                         align : 'center',
172 172
                         dataIndex : 'item_name',
173 173
                         flex : 1
174
-                    },{
174
+                    },
175
+                    {
176
+                        text : '竞买号',
177
+                        tooltip : '竞买号',
178
+                        align : 'center',
179
+                        dataIndex : 'code',
180
+                        flex : 1,
181
+                        renderer : function(val){
182
+                            if(val == undefined || val == '' ){
183
+                                return '';
184
+                            }else{
185
+                                return val;
186
+                            }
187
+                        }
188
+                    },
189
+                    {
175 190
                         text : '支付凭证',
176 191
                         topTip : '支付凭证',
177 192
                         align : 'center',
@@ -217,12 +232,11 @@
217 232
                                 icon : jcapp.getIcon("user_tick.png"),
218 233
                                 handler : function(grid, rowIndex, colIndex) {
219 234
                                     var rec = grid.getStore().getAt(rowIndex);
220
-                                    myPass(rec.get('kid'));
221
-                                    /*if(rec.get('is_pay') == '2'){
235
+                                    if(rec.get('is_pay') == '2'){
222 236
                                         Ext.Msg.alert("提示", "已驳回不能确认支付!");
223 237
                                     }else{
224 238
                                         myPass(rec.get('kid'));
225
-                                    }*/
239
+                                    }
226 240
 
227 241
                                 }
228 242
                             },{
@@ -231,11 +245,13 @@
231 245
                                 icon : jcapp.getIcon("user_cross.png"),
232 246
                                 handler : function(grid, rowIndex, colIndex) {
233 247
                                     var rec = grid.getStore().getAt(rowIndex);
234
-                                    if(rec.get('is_pay') == '1'){
248
+                                    myReject(rec.get('kid'));
249
+
250
+                                    /*if(rec.get('is_pay') == '1'){
235 251
                                         Ext.Msg.alert("提示", "已支付不能驳回!");
236 252
                                     }else{
237 253
                                         myReject(rec.get('kid'));
238
-                                    }
254
+                                    }*/
239 255
                                 }
240 256
                             }
241 257
                         ]

+ 9 - 4
krock-jcebid-cp/krock-web-cp-all/src/main/resources/static/view_cp_pm/pm/un_line_item/list.html

@@ -32,6 +32,7 @@
32 32
                 listeners : {
33 33
                     'beforeload' : function(store, op, options) {
34 34
                         var params = searchFormPanel.getForm().getValues();
35
+                        console.log(params);
35 36
                         Ext.apply(dataStore.proxy.extraParams, params);
36 37
                     }
37 38
                 }
@@ -175,8 +176,6 @@
175 176
                                 }
176 177
                                 set_item(rec.get('kid'));
177 178
                             }
178
-                        },{
179
-                            xtype : ""
180 179
                         },
181 180
                         {
182 181
                             xtype : 'button',
@@ -196,8 +195,6 @@
196 195
                                 set_price(rec.get('kid'));
197 196
                             }
198 197
                         },{
199
-                            xtype : ""
200
-                        },{
201 198
                             xtype : 'button',
202 199
                             tooltip : '进入',
203 200
                             icon : jcapp.getIcon("bullet_go.png"),
@@ -205,6 +202,14 @@
205 202
                                 var rec = grid.getStore().getAt(rowIndex);
206 203
                                 window.open(getServer() +"/web-pm/pm/auctioSystemPC/index.html?kid="+rec.get('kid'));
207 204
                             }
205
+                        },{
206
+                            xtype : 'button',
207
+                            tooltip : '出价记录入口',
208
+                            icon : jcapp.getIcon("bullet_go.png"),
209
+                            handler : function(grid, rowIndex, colIndex) {
210
+                                var rec = grid.getStore().getAt(rowIndex);
211
+                                window.open(getServer() +"/web-cp-all/view_cp_pm/pm/un_line_item/pm_info.html?kid="+rec.get('kid'));
212
+                            }
208 213
                         }
209 214
                     ]
210 215
                 } ],

+ 114 - 0
krock-jcebid-cp/krock-web-cp-all/src/main/resources/static/view_cp_pm/pm/un_line_item/pm_info.html

@@ -0,0 +1,114 @@
1
+<!DOCTYPE html>
2
+<html>
3
+<head>
4
+    <title>线下拍卖商品管理</title>
5
+    <meta charset="UTF-8">
6
+    <link rel="stylesheet" href="https://yun.eqbidding.com/extjs/extjs6.0/classic/theme-crisp/resources/theme-crisp-all.css"></link>
7
+    <script src="https://yun.eqbidding.com/extjs/extjs6.0/ext-all.js"></script>
8
+    <script src="https://yun.eqbidding.com/extjs/extjs6.0/classic/locale/locale-zh_CN.js"></script>
9
+    <script type="text/javascript" src="/web-cp-all/resource/js/app.js"></script>
10
+    <script type="text/javascript" src="/web-cp-all/resource/js/jquery.js"></script>
11
+
12
+    <script type="text/javascript">
13
+        function getUrlParam(name) {
14
+            var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); // 构造一个含有目标参数的正则表达式对象
15
+            var r = window.location.search.substr(1).match(reg); // 匹配目标参数
16
+            if (r != null) {
17
+                return decodeURIComponent(r[2]);
18
+            }
19
+            return null; //返回参数值
20
+        }
21
+        var kid = getUrlParam('kid');
22
+        Ext.onReady(function() {
23
+            //初始化列表数据
24
+            var dataStore = Ext.create('Ext.data.Store', {
25
+                remoteSort : true,
26
+                autoLoad : true,
27
+                pageSize : 20,
28
+                sorters : {
29
+                    property : 'created',
30
+                    direction : 'DESC'
31
+                },
32
+                proxy : {
33
+                    type : "ajax",
34
+                    url : "/web-cp-all/cp/pm/item_unLine/pm_record_info",
35
+                    reader : {
36
+                        type : 'json',
37
+                        root : 'page.list',
38
+                        totalProperty : 'page.totalRow'
39
+                    }
40
+                },
41
+                listeners : {
42
+                    'beforeload' : function(store, op, options) {
43
+                        var params = {"srh.pm_item_id":""+kid};
44
+                        console.log(params);
45
+                        Ext.apply(dataStore.proxy.extraParams, params);
46
+                    }
47
+                }
48
+            }); //#dataStore
49
+
50
+            var listGridPanel = Ext.create('Ext.grid.Panel', {
51
+                title : '线下拍卖商品出价记录列表',
52
+                dockedItems : [ {
53
+                    xtype : 'pagingtoolbar',
54
+                    store : dataStore,
55
+                    dock : 'bottom',
56
+                    displayInfo : true
57
+                } ],
58
+                store : dataStore,
59
+                columns : [ {
60
+                    text : '公司名称',
61
+                    align : 'center',
62
+                    dataIndex : 'company_name',
63
+                    flex : 1
64
+                },{
65
+                    text : '用户名称',
66
+                    align : 'center',
67
+                    dataIndex : 'receive_name',
68
+                    flex : 1
69
+                },{
70
+                    text : '手机号',
71
+                    align : 'center',
72
+                    dataIndex : 'receive_mobile',
73
+                    flex : 1
74
+                },{
75
+                    text : '身份证号',
76
+                    align : 'center',
77
+                    dataIndex : 'id_card',
78
+                    flex : 1
79
+                },{
80
+                    text : '竞买号',
81
+                    align : 'center',
82
+                    dataIndex : 'code',
83
+                    flex : 1
84
+                },{
85
+                    text : '报价时间',
86
+                    align : 'center',
87
+                    dataIndex : 'created',
88
+                    flex : 1,
89
+                    renderer : function(val){
90
+                        if(val != ''){
91
+                            return Ext.Date.format(new Date(val), "Y-m-d H:i:s");
92
+                        }
93
+                    }
94
+                },{
95
+                    text : '报价(人民币元)',
96
+                    align : 'center',
97
+                    dataIndex : 'price_bidder',
98
+                    flex : 1
99
+                }],
100
+                viewConfig:{
101
+                    enableTextSelection:true
102
+                }
103
+            }); //#listGridPanel
104
+
105
+            listGridPanel.render(Ext.getBody());
106
+        });
107
+
108
+    </script>
109
+    <script type="text/javascript" src="edit.js"></script>
110
+    <script type="text/javascript" src="setitem.js"></script>
111
+</head>
112
+<body>
113
+</body>
114
+</html>

+ 306 - 230
krock-jcebid-cp/krock-web-cp-all/src/main/resources/static/view_cp_pm/pm/verify/bdw_verify.html

@@ -1,237 +1,313 @@
1 1
 <!DOCTYPE html>
2 2
 <html>
3 3
 <head>
4
-<title>标的物审批</title>
5
-<meta charset="UTF-8">
6
-<link rel="stylesheet" href="https://yun.eqbidding.com/extjs/extjs6.0/classic/theme-crisp/resources/theme-crisp-all.css"></link>
7
-<script src="https://yun.eqbidding.com/extjs/extjs6.0/ext-all.js"></script>
8
-<script src="https://yun.eqbidding.com/extjs/extjs6.0/classic/locale/locale-zh_CN.js"></script>
9
-<script type="text/javascript" src="/web-cp-all/resource/js/app.js"></script>
10
-<script type="text/javascript" src="/web-cp-all/resource/js/time/time.js"></script>
11
-<script type="text/javascript" src="select.js"></script>
12
-<script type="text/javascript">
13
-	var verify_id;
4
+    <title>标的物审批</title>
5
+    <meta charset="UTF-8">
6
+    <link rel="stylesheet" href="https://yun.eqbidding.com/extjs/extjs6.0/classic/theme-crisp/resources/theme-crisp-all.css"></link>
7
+    <script src="https://yun.eqbidding.com/extjs/extjs6.0/ext-all.js"></script>
8
+    <script src="https://yun.eqbidding.com/extjs/extjs6.0/classic/locale/locale-zh_CN.js"></script>
9
+    <script type="text/javascript" src="/web-cp-all/resource/js/app.js"></script>
10
+    <script type="text/javascript" src="/web-cp-all/resource/js/time/time.js"></script>
11
+    <script type="text/javascript" src="select.js"></script>
12
+    <script type="text/javascript">
13
+        var verify_id;
14 14
 
15
-	//初始化列表数据
16
-	dataStore = Ext.create('Ext.data.Store', {
17
-		remoteSort : true,
18
-		autoLoad : true,
19
-		pageSize : 20,
20
-		sorters : {
21
-			property : 'created',
22
-			direction : 'DESC'
23
-		},
24
-		proxy : {
25
-			type : "ajax",
26
-			url : "/web-cp-all/cp/pm/verify/list_data_pm",
27
-			reader : {
28
-				type : 'json',
29
-				root : 'list',
30
-				totalProperty : 'page.totalRow'
31
-			}
32
-		},
33
-		listeners : {
34
-			'beforeload' : function(store, op, options) {
35
-				var params = searchFormPanel.getForm().getValues();
36
-				Ext.apply(dataStore.proxy.extraParams, params);
37
-			}
38
-		}
39
-	}); //#dataStore 
40
-console.log(dataStore);
41
-	var searchFormPanel = Ext.create('Ext.form.Panel', {
42
-		frame : true,
43
-		title : "搜索条件",
44
-		style : {
45
-			marginBottom : '5px'
46
-		},
47
-		bodyStyle : {
48
-			padding : '10px'
49
-		},
50
-		buttonAlign : "center",
51
-		collapsible : true,
52
-		defaultType : "textfield",
53
-		items : [ {
54
-			xtype : "container",
55
-			layout : "hbox",
56
-			items : [ {
57
-				xtype : "textfield",
58
-				fieldLabel : "标的物名称",
59
-				name : "srh.notice_title"
60
-			}]
61
-		} ],
62
-		buttons : [ {
63
-			text : "搜索",
64
-			icon : jcapp.getIcon("magnifier.png"),
65
-			handler : function() {
66
-				dataStore.load({
67
-				//params:params()
68
-				});
69
-				dataStore.sync();
70
-			}
71
-		}, {
72
-			text : "重置",
73
-			icon : jcapp.getIcon("arrow_refresh.png"),
74
-			handler : function() {
75
-				this.up('form').getForm().reset();
76
-				dataStore.load({});
77
-				dataStore.sync();
78
-			}
79
-		} ]
80
-	}); //#searchFormPanel
81
-	
82
-	var listGridPanel = Ext.create('Ext.grid.Panel', {
83
-		title : '标的物列表',
84
-		dockedItems : [ {
85
-			xtype : 'pagingtoolbar',
86
-			store : dataStore, 
87
-			dock : 'bottom',
88
-			displayInfo : true
89
-		} ],
90
-		store : dataStore,
91
-		columns : [ 
92
-			{
93
-				text : 'kid',
94
-				name : 'kid',
95
-				hidden : true
96
-			},{
97
-				text : '标的物名称',
98
-				dataIndex : 'item_name',
99
-				flex : 1,
100
-				align : 'center'
101
-			},{
102
-				text : '标的物类型',
103
-				dataIndex : 'bid_type',
104
-				flex : 1,
105
-				align : 'center'
106
-			},{
107
-				text : '拍卖方式',
108
-				dataIndex : 'auction_way',
109
-				flex : 1,
110
-				align : 'center'
111
-			},{
112
-				text : '联系人',
113
-				dataIndex : 'auctioneer',
114
-				flex : 1,
115
-				align : 'center'
116
-			},{
117
-				text : '审批状态',
118
-				dataIndex : 'verify_status',
119
-				flex : 0.4,
120
-				align : 'center'
121
-			},{
122
-				text : '创建时间',
123
-				dataIndex : 'created',
124
-				flex : 1,
125
-				align : 'center'
126
-			},{
127
-				xtype : "actioncolumn",
128
-				align : "center",
129
-				text : '操作',
130
-				flex :	1,
131
-				items : [ 
132
-					{
133
-						xtype : 'button',
134
-						tooltip : '通过',
135
-						renderer : function(value, row, column, rowIndex, data, table){
136
-							return "审核通过";
137
-					    },
138
-						icon : jcapp.getIcon("user_tick.png"),
139
-						handler : function(grid, rowIndex, colIndex) {
140
-							var rec = grid.getStore().getAt(rowIndex);
141
-							myPass(rec.get('kid'),'审核通过');
142
-						}
143
-					},{
144
-						xtype:"container"
145
-					},{
146
-						xtype : 'button',
147
-						tooltip : '不通过',
148
-						icon : jcapp.getIcon("user_cross.png"),
149
-						handler : function(grid, rowIndex, colIndex) {
150
-							var rec = grid.getStore().getAt(rowIndex);
151
-							myNotPass(rec.get('kid'),'未通过');
152
-						}
153
-					},{
154
-						xtype:"container"
155
-					},{
156
-						xtype : 'button',
157
-						tooltip : '查看详情',
158
-						icon : jcapp.getIcon("user_magnify.png"),
159
-						handler : function(grid, rowIndex, colIndex) {
160
-							var rec = grid.getStore().getAt(rowIndex);
161
-							var kid = rec.get('kid');
162
-							details(kid);
163
-						}
164
-					},{
165
-						xtype:"container"
166
-					},{
167
-						xtype : 'button',
168
-						tooltip : '查看标的物上传图片',
169
-						icon : jcapp.getIcon("vcard.png"),
170
-						handler : function(grid, rowIndex, colIndex) {
171
-							var rec = grid.getStore().getAt(rowIndex);
172
-							var bid_file_id = rec.get('bid_file_id');
173
-							
174
-							if(bid_file_id == undefined){
175
-								Ext.Msg.alert("提示", "没有相关信息!");
176
-							}else{
177
-								var array = bid_file_id.split(",");
178
-								var nums = [];
179
-								for(var i = 0 ; i < array.length ;i++){
180
-									nums.push(parseInt(array[i]));
181
-									window.open(getServerHttp()+"/img_pm/img/"+array[i]);
182
-								}
183
-							}
184
-						}
185
-					}
186
-				]
187
-			} 
188
-		],
189
-		viewConfig:{
190
-			enableTextSelection:true
191
-		}
192
-	}); 
193
-		
194
-	Ext.onReady(function() {
195
-	 	searchFormPanel.render(Ext.getBody());
196
-		listGridPanel.render(Ext.getBody()); 
197
-	});
198
-	
199
-	function myPass(kid,verify_status){
200
-		Ext.Msg.confirm("提示:", "是否通过该标的物的审核?", function(e) {
201
-			if (e == "yes") {
202
-				Ext.Ajax.request({
203
-					url : "/web-cp-all/cp/pm/verify/pm_verify?kid=" + kid + "&verify_status=" + verify_status,
204
-					success : function(response) {
205
-						Ext.Msg.alert("操作","通过成功");
206
-						dataStore.load();
207
-					},
208
-					failure : function(response) {
209
-						Ext.Msg.alert("提示", "操作失败!");
210
-					}
211
-				});
212
-			}
213
-		});
214
-	}
215
-	
216
-	function myNotPass(kid,verify_status){
217
-		Ext.Msg.confirm("提示:", "是否拒绝该标的物的审核?", function(e) {
218
-			if (e == "yes") {
219
-				Ext.Ajax.request({
220
-					url : "/web-cp-all/cp/pm/verify/pm_verify?kid=" + kid + "&verify_status=" + verify_status,
221
-					success : function(response) {
222
-						Ext.Msg.alert("操作","拒绝成功");
223
-						dataStore.load();
224
-					},
225
-					failure : function(response) {
226
-						Ext.Msg.alert("提示", "操作失败!");
227
-					}
228
-				});
229
-			}
230
-		});
231
-	}
232
-	
233
-	
234
-</script>
15
+        //初始化列表数据
16
+        dataStore = Ext.create('Ext.data.Store', {
17
+            remoteSort : true,
18
+            autoLoad : true,
19
+            pageSize : 20,
20
+            sorters : {
21
+                property : 'created',
22
+                direction : 'DESC'
23
+            },
24
+            proxy : {
25
+                type : "ajax",
26
+                url : "/web-cp-all/cp/pm/verify/list_data_pm",
27
+                reader : {
28
+                    type : 'json',
29
+                    root : 'list',
30
+                    totalProperty : 'page.totalRow'
31
+                }
32
+            },
33
+            listeners : {
34
+                'beforeload' : function(store, op, options) {
35
+                    var params = searchFormPanel.getForm().getValues();
36
+                    Ext.apply(dataStore.proxy.extraParams, params);
37
+                }
38
+            }
39
+        }); //#dataStore
40
+        console.log(dataStore);
41
+        var searchFormPanel = Ext.create('Ext.form.Panel', {
42
+            frame : true,
43
+            title : "搜索条件",
44
+            style : {
45
+                marginBottom : '5px'
46
+            },
47
+            bodyStyle : {
48
+                padding : '10px'
49
+            },
50
+            buttonAlign : "center",
51
+            collapsible : true,
52
+            defaultType : "textfield",
53
+            items : [ {
54
+                xtype : "container",
55
+                layout : "hbox",
56
+                items : [ {
57
+                    xtype : "textfield",
58
+                    fieldLabel : "标的物名称",
59
+                    name : "srh.notice_title"
60
+                }]
61
+            } ],
62
+            buttons : [ {
63
+                text : "搜索",
64
+                icon : jcapp.getIcon("magnifier.png"),
65
+                handler : function() {
66
+                    dataStore.load({
67
+                        //params:params()
68
+                    });
69
+                    dataStore.sync();
70
+                }
71
+            }, {
72
+                text : "重置",
73
+                icon : jcapp.getIcon("arrow_refresh.png"),
74
+                handler : function() {
75
+                    this.up('form').getForm().reset();
76
+                    dataStore.load({});
77
+                    dataStore.sync();
78
+                }
79
+            } ]
80
+        }); //#searchFormPanel
81
+
82
+        var listGridPanel = Ext.create('Ext.grid.Panel', {
83
+            title : '标的物列表',
84
+            dockedItems : [ {
85
+                xtype : 'pagingtoolbar',
86
+                store : dataStore,
87
+                dock : 'bottom',
88
+                displayInfo : true
89
+            } ],
90
+            store : dataStore,
91
+            columns : [
92
+                {
93
+                    text : 'kid',
94
+                    name : 'kid',
95
+                    hidden : true
96
+                },{
97
+                    text : '标的物名称',
98
+                    dataIndex : 'item_name',
99
+                    flex : 1,
100
+                    align : 'center'
101
+                },{
102
+                    text : '标的物类型',
103
+                    dataIndex : 'bid_type',
104
+                    flex : 1,
105
+                    align : 'center'
106
+                },{
107
+                    text : '拍卖方式',
108
+                    dataIndex : 'auction_way',
109
+                    flex : 1,
110
+                    align : 'center'
111
+                },{
112
+                    text : '联系人',
113
+                    dataIndex : 'auctioneer',
114
+                    flex : 1,
115
+                    align : 'center'
116
+                },{
117
+                    text : '审批状态',
118
+                    dataIndex : 'verify_status',
119
+                    flex : 0.4,
120
+                    align : 'center'
121
+                },{
122
+                    text : '创建时间',
123
+                    dataIndex : 'created',
124
+                    flex : 1,
125
+                    align : 'center'
126
+                },{
127
+                    xtype : "actioncolumn",
128
+                    align : "center",
129
+                    text : '操作',
130
+                    flex :	1,
131
+                    items : [
132
+                        {
133
+                            xtype : 'button',
134
+                            tooltip : '通过',
135
+                            renderer : function(value, row, column, rowIndex, data, table){
136
+                                return "审核通过";
137
+                            },
138
+                            icon : jcapp.getIcon("user_tick.png"),
139
+                            handler : function(grid, rowIndex, colIndex) {
140
+                                var rec = grid.getStore().getAt(rowIndex);
141
+                                myPass(rec.get('kid'),'审核通过');
142
+                            }
143
+                        },{
144
+                            xtype:"container"
145
+                        },{
146
+                            xtype : 'button',
147
+                            tooltip : '不通过',
148
+                            icon : jcapp.getIcon("user_cross.png"),
149
+                            handler : function(grid, rowIndex, colIndex) {
150
+                                var rec = grid.getStore().getAt(rowIndex);
151
+                                myNotPass(rec.get('kid'),'未通过');
152
+                            }
153
+                        },{
154
+                            xtype:"container"
155
+                        },{
156
+                            xtype : 'button',
157
+                            tooltip : '查看详情',
158
+                            icon : jcapp.getIcon("user_magnify.png"),
159
+                            handler : function(grid, rowIndex, colIndex) {
160
+                                var rec = grid.getStore().getAt(rowIndex);
161
+                                var kid = rec.get('kid');
162
+                                details(kid);
163
+                            }
164
+                        },{
165
+                            xtype:"container"
166
+                        },{
167
+                            xtype : 'button',
168
+                            tooltip : '查看标的物上传图片',
169
+                            icon : jcapp.getIcon("vcard.png"),
170
+                            handler : function(grid, rowIndex, colIndex) {
171
+                                var rec = grid.getStore().getAt(rowIndex);
172
+                                var bid_file_id = rec.get('bid_file_id');
173
+
174
+                                if(bid_file_id == undefined){
175
+                                    Ext.Msg.alert("提示", "没有相关信息!");
176
+                                }else{
177
+                                    /*var array = bid_file_id.split(",");
178
+                                    var nums = [];
179
+                                    for(var i = 0 ; i < array.length ;i++){
180
+                                        nums.push(parseInt(array[i]));
181
+                                        window.open(getServerHttp()+"/img_pm/img/"+array[i]);
182
+                                    }*/
183
+                                    enlarge(bid_file_id);
184
+                                }
185
+                            }
186
+                        }
187
+                    ]
188
+                }
189
+            ],
190
+            viewConfig:{
191
+                enableTextSelection:true
192
+            }
193
+        });
194
+
195
+        Ext.onReady(function() {
196
+            searchFormPanel.render(Ext.getBody());
197
+            listGridPanel.render(Ext.getBody());
198
+        });
199
+
200
+        function myPass(kid,verify_status){
201
+            Ext.Msg.confirm("提示:", "是否通过该标的物的审核?", function(e) {
202
+                if (e == "yes") {
203
+                    Ext.Ajax.request({
204
+                        url : "/web-cp-all/cp/pm/verify/pm_verify?kid=" + kid + "&verify_status=" + verify_status,
205
+                        success : function(response) {
206
+                            Ext.Msg.alert("操作","通过成功");
207
+                            dataStore.load();
208
+                        },
209
+                        failure : function(response) {
210
+                            Ext.Msg.alert("提示", "操作失败!");
211
+                        }
212
+                    });
213
+                }
214
+            });
215
+        }
216
+
217
+        function myNotPass(kid,verify_status){
218
+            Ext.Msg.confirm("提示:", "是否拒绝该标的物的审核?", function(e) {
219
+                if (e == "yes") {
220
+                    Ext.Ajax.request({
221
+                        url : "/web-cp-all/cp/pm/verify/pm_verify?kid=" + kid + "&verify_status=" + verify_status,
222
+                        success : function(response) {
223
+                            Ext.Msg.alert("操作","拒绝成功");
224
+                            dataStore.load();
225
+                        },
226
+                        failure : function(response) {
227
+                            Ext.Msg.alert("提示", "操作失败!");
228
+                        }
229
+                    });
230
+                }
231
+            });
232
+        }
233
+
234
+        var imgIndex = 0;
235
+        var operationIndex = ''; //up 上一页 down 下一页
236
+        var imgSize = 0;
237
+        function enlarge(bid_file_id){
238
+            var array = bid_file_id.split(",");
239
+            var html = '<div style="width:100%;height:100%;">' ;
240
+            imgSize = array.length-1;
241
+            for(var i = 0 ; i < array.length ;i++){
242
+                var str = getServerHttp()+"/img_pm/img/"+array[i];
243
+                html += '<img id="videoSource'+i+'" style="width:100%;height:100%;display:none;"  src="'+str+'" />' ;
244
+            }
245
+            html += '<div>';
246
+            songPlayer.show();
247
+            Ext.getCmp("playerPanel").body.update(html);
248
+            showIndex();
249
+        }
250
+        function showIndex(){
251
+            if(operationIndex == 'down'){
252
+                if(imgIndex == imgSize){
253
+                    Ext.Msg.alert("操作","最后一张无法下一页");
254
+                    return;
255
+                }
256
+                document.getElementById("videoSource"+imgIndex).style.display="none";
257
+                imgIndex++;
258
+                console.log(imgIndex);
259
+                document.getElementById("videoSource"+imgIndex).style.display="block";
260
+            }else if(operationIndex == 'up'){
261
+                if(imgIndex == 0){
262
+                    Ext.Msg.alert("操作","第一张无法上一页");
263
+                    return;
264
+                }
265
+                document.getElementById("videoSource"+imgIndex).style.display="none";
266
+                imgIndex--;
267
+                console.log(imgIndex);
268
+                document.getElementById("videoSource"+imgIndex).style.display="block";
269
+            }else{
270
+                document.getElementById("videoSource"+imgIndex).style.display="block";
271
+            }
272
+        }
273
+        var playerForm=new Ext.Panel({
274
+            xtype : 'panel',
275
+            id : 'playerPanel',
276
+            width:600,
277
+            height:600,
278
+            html:""
279
+        })
280
+        var songPlayer = new Ext.Window({
281
+            layout : 'fit',
282
+            width:600,
283
+            height:600,
284
+            modal : true,
285
+            frame: true,
286
+            closable : false,
287
+            items : [playerForm]  ,
288
+            buttons: [{
289
+                text: '上一页',
290
+                handler: function() {
291
+                    operationIndex = 'up';
292
+                    showIndex();
293
+                }
294
+            },{
295
+                text: '下一页',
296
+                handler: function() {
297
+                    operationIndex = 'down';
298
+                    showIndex();
299
+                }
300
+            },{
301
+                text: '关闭',
302
+                handler: function() {
303
+                    Ext.getCmp('playerPanel').html ="";
304
+                    Ext.getCmp("playerPanel").body.update("");
305
+                    songPlayer.hide();
306
+                }
307
+            }]
308
+        });
309
+
310
+    </script>
235 311
 </head>
236 312
 <body>
237 313
 </body>

+ 7 - 0
krock-pm/krock-api-pm/src/main/java/com/ydw/yunbuyer/api/pm/api/PmItemApi.java

@@ -605,6 +605,13 @@ public interface PmItemApi<T> {
605 605
 	 */
606 606
 	@RequestMapping("/get")
607 607
 	public PmItem get(@RequestParam("kid") String kid);
608
+
609
+	/**
610
+	 * 拍卖详情
611
+	 * @return
612
+	 */
613
+	@RequestMapping("/pm_record_info")
614
+	PagePackage pm_record_info(@RequestBody PagePackage pagePackage);
608 615
 	// ----------------------- 通用copy End ---------------------------------------
609 616
 
610 617
 

+ 16 - 0
krock-pm/krock-service-pm/src/main/java/com/ydw/yunbuyer/serv_pm/service/PmItemServiceApiImpl.java

@@ -1009,4 +1009,20 @@ public class PmItemServiceApiImpl extends BaseApiImpl<PmItem> implements PmItemA
1009 1009
 	public PmItem get(String kid) {
1010 1010
 		return null;
1011 1011
 	}
1012
+
1013
+	@Override
1014
+	public PagePackage pm_record_info(@RequestBody PagePackage pagePackage) {
1015
+		JSONObject srh = pagePackage.getSrh();
1016
+		Map<String, String> sort_param = pagePackage.getSort_param();
1017
+		Page page = pagePackage.getPage();
1018
+		String sql ="select t1.company_name,t1.receive_name,t1.receive_mobile,t1.id_card,t2.kid pm_item_submit_id,t.created,t.price_bidder,t2.code  "+
1019
+				"from t_pm_item_submit_offer t  "+
1020
+				"left join t_pm_offline_apply t1 on t1.pm_item_id = t.pm_item_id and t1.pm_user_id = t.pm_user_id  "+
1021
+				"left join t_pm_item_submit t2 on t2.pm_item_id=t.pm_item_id and t2.pm_user_id = t.pm_user_id "+
1022
+				"where t.pm_item_id = '"+srh.getString("pm_item_id")+"' ORDER BY t.created desc  ";;
1023
+		NeParamList params = NeParamList.makeParams();
1024
+		List<Map<String, Object>> list = bs.findList(sql, params, sort_param, page);
1025
+		pagePackage.setData(list);
1026
+		return pagePackage;
1027
+	}
1012 1028
 }

+ 5 - 0
krock-pm/krock-web-pm/src/main/java/com/ydw/yunbuyer/web/pm/action_api/IPmItemController.java

@@ -430,6 +430,11 @@ public class IPmItemController implements PmItemApi {
430 430
 	}
431 431
 
432 432
 	@Override
433
+	public PagePackage pm_record_info(@RequestBody PagePackage pagePackage) {
434
+		return pmItemService.pm_record_info(pagePackage);
435
+	}
436
+
437
+	@Override
433 438
 	public List<Map<String, Object>> list_slideshow() {
434 439
 		return null;
435 440
 	}

+ 24 - 0
krock-pm/krock-web-pm/src/main/java/com/ydw/yunbuyer/web/pm/controller/api/PmController.java

@@ -6,11 +6,14 @@ import java.util.HashMap;
6 6
 import java.util.List;
7 7
 import java.util.Map;
8 8
 
9
+import com.alibaba.fastjson.JSONObject;
9 10
 import com.ydw.yunbuyer.common.base.enums.TimeEnum;
10 11
 import org.springframework.beans.factory.annotation.Autowired;
11 12
 import org.springframework.context.annotation.Scope;
13
+import org.springframework.web.bind.annotation.RequestBody;
12 14
 import org.springframework.web.bind.annotation.RequestMapping;
13 15
 import org.springframework.web.bind.annotation.RestController;
16
+import org.tmsps.ne4spring.page.PagePackage;
14 17
 import org.tmsps.ne4spring.utils.ChkUtil;
15 18
 
16 19
 import com.ydw.yunbuyer.api.user.entity.Persion;
@@ -108,6 +111,10 @@ public class PmController extends ProjBaseAction {
108 111
 		}
109 112
 	}
110 113
 
114
+	/**
115
+	 * 拍卖详情
116
+	 * @return
117
+	 */
111 118
 	@RequestMapping("/pm_record")
112 119
 	public String pm_record(String kid) {
113 120
 
@@ -129,6 +136,23 @@ public class PmController extends ProjBaseAction {
129 136
 		}
130 137
 	}
131 138
 
139
+	/**
140
+	 * 拍卖详情
141
+	 * @return
142
+	 */
143
+	@RequestMapping("/pm_record_info")
144
+	public String pm_record_info(String kid) {
145
+		if (ChkUtil.isNull(kid)) {
146
+			super.setTipMsg(false, "商品不存在", Tip.Type.error);
147
+			return result.toJSONString();
148
+		} else {
149
+			// 竞价记录
150
+			List<Map<String, Object>> list = wxPmService.pm_record_info(kid);
151
+			result.put("data", list);
152
+			return result.toJSONString();
153
+		}
154
+	}
155
+
132 156
 	@RequestMapping("/bid_start")
133 157
 	public String bid_start(String kid) {
134 158
 		t_pm_item item = pmItemService.get(kid);

+ 9 - 11
krock-pm/krock-web-pm/src/main/java/com/ydw/yunbuyer/web/pm/controller_wxapp/BiddingPayController.java

@@ -1,16 +1,5 @@
1 1
 package com.ydw.yunbuyer.web.pm.controller_wxapp;
2 2
 
3
-import java.math.BigDecimal;
4
-import java.util.List;
5
-import java.util.Map;
6
-
7
-import io.swagger.annotations.Api;
8
-import org.springframework.beans.factory.annotation.Autowired;
9
-import org.springframework.context.annotation.Scope;
10
-import org.springframework.web.bind.annotation.RequestMapping;
11
-import org.springframework.web.bind.annotation.RequestMapping;
12
-import org.springframework.web.bind.annotation.RequestMapping;
13
-import org.springframework.web.bind.annotation.RestController;
14 3
 import com.alibaba.fastjson.JSONObject;
15 4
 import com.ydw.yunbuyer.common.utils.ChkTools;
16 5
 import com.ydw.yunbuyer.web.pm.base.ProjBaseAction;
@@ -19,6 +8,15 @@ import com.ydw.yunbuyer.web.pm.entity.t_pm_item_submit;
19 8
 import com.ydw.yunbuyer.web.pm.entity.t_pm_item_submit_offer;
20 9
 import com.ydw.yunbuyer.web.pm.service.PmItemService;
21 10
 import com.ydw.yunbuyer.web.pm.web.SessionPersionService;
11
+import io.swagger.annotations.Api;
12
+import org.springframework.beans.factory.annotation.Autowired;
13
+import org.springframework.context.annotation.Scope;
14
+import org.springframework.web.bind.annotation.RequestMapping;
15
+import org.springframework.web.bind.annotation.RestController;
16
+
17
+import java.math.BigDecimal;
18
+import java.util.List;
19
+import java.util.Map;
22 20
 
23 21
 /**
24 22
  * 

+ 2 - 1
krock-pm/krock-web-pm/src/main/java/com/ydw/yunbuyer/web/pm/dao/PmItemDao.java

@@ -483,5 +483,6 @@ public interface PmItemDao extends BaseDao<t_pm_item>{
483 483
 	 * @return
484 484
 	 */
485 485
 	public PagePackage list_offline_data(@RequestBody PagePackage pagePackage);
486
-	
486
+
487
+    PagePackage pm_record_info(@RequestBody PagePackage pagePackage);
487 488
 }

+ 3 - 0
krock-pm/krock-web-pm/src/main/java/com/ydw/yunbuyer/web/pm/dao/WxPmDao.java

@@ -9,6 +9,7 @@ import com.ydw.yunbuyer.web.pm.entity.t_pay_no;
9 9
 import com.ydw.yunbuyer.web.pm.entity.t_pm_item;
10 10
 import com.ydw.yunbuyer.web.pm.entity.t_pm_item_submit;
11 11
 import com.ydw.yunbuyer.web.pm.entity.user.t_receive_address;
12
+import org.tmsps.ne4spring.page.PagePackage;
12 13
 
13 14
 /**
14 15
  * 小程序商品接口
@@ -182,4 +183,6 @@ public interface WxPmDao {
182 183
 	 * @return
183 184
 	 */
184 185
 	public List<Map<String, Object>> list_bank();
186
+
187
+	List<Map<String, Object>> pm_record_info(String kid);
185 188
 }

+ 16 - 0
krock-pm/krock-web-pm/src/main/java/com/ydw/yunbuyer/web/pm/daoImpl/PmItemDaoImpl.java

@@ -93,6 +93,22 @@ public class PmItemDaoImpl extends BaseDaoImpl<t_pm_item> implements PmItemDao {
93 93
 	}
94 94
 
95 95
 	@Override
96
+	public PagePackage pm_record_info(@RequestBody PagePackage pagePackage) {
97
+		JSONObject srh = pagePackage.getSrh();
98
+		Map<String, String> sort_param = pagePackage.getSort_param();
99
+		Page page = pagePackage.getPage();
100
+		String sql ="select t1.company_name,t1.receive_name,t1.receive_mobile,t1.id_card,t2.kid pm_item_submit_id,t.created,t.price_bidder,t2.code  "+
101
+				"from t_pm_item_submit_offer t  "+
102
+				"left join t_pm_offline_apply t1 on t1.pm_item_id = t.pm_item_id and t1.pm_user_id = t.pm_user_id  "+
103
+				"left join t_pm_item_submit t2 on t2.pm_item_id=t.pm_item_id and t2.pm_user_id = t.pm_user_id "+
104
+				"where t.pm_item_id = '"+srh.getString("pm_item_id")+"' ORDER BY t.created desc  ";;
105
+		NeParamList params = NeParamList.makeParams();
106
+		List<Map<String, Object>> list = bs.findList(sql, params, sort_param, page);
107
+		pagePackage.setData(list);
108
+		return pagePackage;
109
+	}
110
+
111
+	@Override
96 112
 	public List<Map<String, Object>> list_item() {
97 113
 		String sql = "select t.*,t1.name from t_pm_item t left outer join t_shop t1 on t.shop_id=t1.kid "
98 114
 				+ " where t.status=0 order by t.time_opening limit 0,6 ";

+ 16 - 0
krock-pm/krock-web-pm/src/main/java/com/ydw/yunbuyer/web/pm/daoImpl/WxPmDaoImpl.java

@@ -5,6 +5,8 @@ import java.text.SimpleDateFormat;
5 5
 import java.util.Date;
6 6
 import java.util.List;
7 7
 import java.util.Map;
8
+
9
+import com.alibaba.fastjson.JSONObject;
8 10
 import org.springframework.beans.factory.annotation.Autowired;
9 11
 import org.springframework.stereotype.Repository;
10 12
 import org.springframework.transaction.annotation.Transactional;
@@ -16,6 +18,9 @@ import com.ydw.yunbuyer.web.pm.entity.t_pay_no;
16 18
 import com.ydw.yunbuyer.web.pm.entity.t_pm_item;
17 19
 import com.ydw.yunbuyer.web.pm.entity.t_pm_item_submit;
18 20
 import com.ydw.yunbuyer.web.pm.entity.user.t_receive_address;
21
+import org.tmsps.ne4spring.orm.param.NeParamList;
22
+import org.tmsps.ne4spring.page.Page;
23
+import org.tmsps.ne4spring.page.PagePackage;
19 24
 
20 25
 /**
21 26
  * 
@@ -241,4 +246,15 @@ public class WxPmDaoImpl implements WxPmDao {
241 246
 		return list;
242 247
 	}
243 248
 
249
+	@Override
250
+	public List<Map<String, Object>> pm_record_info(String kid) {
251
+		String sql ="select t1.company_name,t1.receive_name,t1.receive_mobile,t1.id_card,t2.kid pm_item_submit_id,t2.code,t.created,t.price_bidder  "+
252
+						"from t_pm_item_submit_offer t  "+
253
+						"left join t_pm_offline_apply t1 on t1.pm_item_id = t.pm_item_id and t1.pm_user_id = t.pm_user_id  "+
254
+						"left join t_pm_item_submit t2 on t2.pm_item_id=t.pm_item_id and t2.pm_user_id = t.pm_user_id "+
255
+						"where t.pm_item_id = '"+kid+"' ORDER BY t.created desc  ";;
256
+		List<Map<String, Object>> list = bs.findList(sql);
257
+		return list;
258
+	}
259
+
244 260
 }

+ 4 - 1
krock-pm/krock-web-pm/src/main/java/com/ydw/yunbuyer/web/pm/daoImpl/WxSubmitDaoImpl.java

@@ -47,7 +47,10 @@ public class WxSubmitDaoImpl extends BaseDaoImpl<t_pm_offline_apply> implements
47 47
 		JSONObject srh = pagePackage.getSrh();
48 48
 		Map<String, String> sort_param = pagePackage.getSort_param();
49 49
 		Page page = pagePackage.getPage();
50
-		String sql = "select t.*,t1.item_name from t_pm_offline_apply t left join t_pm_item t1 on t.pm_item_id=t1.kid where t.status=0 and (t.is_pay like ? ) and t.pm_item_id is not null ";
50
+		String sql = "select t.*,t1.item_name,t2.kid pm_item_submit_id,t2.code from t_pm_offline_apply t " +
51
+				" left join t_pm_item t1 on t.pm_item_id=t1.kid " +
52
+				" left join t_pm_item_submit t2 on t.pm_item_id=t2.pm_item_id and t.pm_user_id = t2.pm_user_id and t.is_pay = 1 " +
53
+				" where t.status=0 and (t.is_pay like ? ) and t.pm_item_id is not null ";
51 54
 		NeParamList params = NeParamList.makeParams();
52 55
 		params.addLike(srh.getString("is_pay"));
53 56
 		if(StringUtils.isNotBlank(srh.getString("receive_name"))){

+ 1 - 0
krock-pm/krock-web-pm/src/main/java/com/ydw/yunbuyer/web/pm/service/PmItemService.java

@@ -468,4 +468,5 @@ public interface PmItemService extends BaseService<t_pm_item> {
468 468
 
469 469
 	public void set_price(t_pm_item pm_item);
470 470
 
471
+    PagePackage pm_record_info(@RequestBody PagePackage pagePackage);
471 472
 }

+ 4 - 0
krock-pm/krock-web-pm/src/main/java/com/ydw/yunbuyer/web/pm/service/WxPmService.java

@@ -7,6 +7,8 @@ import com.ydw.yunbuyer.web.pm.entity.user.t_receive_address;
7 7
 import com.ydw.yunbuyer.web.pm.entity.t_pay_no;
8 8
 import com.ydw.yunbuyer.web.pm.entity.t_pm_item;
9 9
 import com.ydw.yunbuyer.web.pm.entity.t_pm_item_submit;
10
+import org.springframework.web.bind.annotation.RequestBody;
11
+import org.tmsps.ne4spring.page.PagePackage;
10 12
 
11 13
 /**
12 14
  * 小程序商品接口
@@ -176,4 +178,6 @@ public interface WxPmService {
176 178
 	 * @return
177 179
 	 */
178 180
 	public List<Map<String, Object>> list_bank();
181
+
182
+	List<Map<String, Object>> pm_record_info(String kid);
179 183
 }

+ 5 - 0
krock-pm/krock-web-pm/src/main/java/com/ydw/yunbuyer/web/pm/serviceImpl/PmItemServiceImpl.java

@@ -349,6 +349,11 @@ public class PmItemServiceImpl extends BaseServiceImpl<t_pm_item> implements PmI
349 349
 		pmItemDao.set_price(pm_item);
350 350
 	}
351 351
 
352
+	@Override
353
+	public PagePackage pm_record_info(@RequestBody PagePackage pagePackage) {
354
+		return pmItemDao.pm_record_info(pagePackage);
355
+	}
356
+
352 357
 	public static void main(String[] args) {
353 358
 		List<String> list = new ArrayList<String>();
354 359
 		list.add("1");

+ 11 - 0
krock-pm/krock-web-pm/src/main/java/com/ydw/yunbuyer/web/pm/serviceImpl/WxPmServiceImpl.java

@@ -1,8 +1,11 @@
1 1
 package com.ydw.yunbuyer.web.pm.serviceImpl;
2 2
 
3 3
 import java.math.BigDecimal;
4
+import java.text.SimpleDateFormat;
4 5
 import java.util.List;
5 6
 import java.util.Map;
7
+
8
+import com.alibaba.fastjson.JSONObject;
6 9
 import org.springframework.beans.factory.annotation.Autowired;
7 10
 import org.springframework.stereotype.Service;
8 11
 import org.springframework.transaction.annotation.Transactional;
@@ -13,6 +16,9 @@ import com.ydw.yunbuyer.web.pm.entity.t_pm_item;
13 16
 import com.ydw.yunbuyer.web.pm.entity.t_pm_item_submit;
14 17
 import com.ydw.yunbuyer.web.pm.entity.user.t_receive_address;
15 18
 import com.ydw.yunbuyer.web.pm.service.WxPmService;
19
+import org.tmsps.ne4spring.orm.param.NeParamList;
20
+import org.tmsps.ne4spring.page.Page;
21
+import org.tmsps.ne4spring.page.PagePackage;
16 22
 
17 23
 /**
18 24
  * 
@@ -129,4 +135,9 @@ public class WxPmServiceImpl implements WxPmService {
129 135
 		return wxPmDao.list_bank();
130 136
 	}
131 137
 
138
+	@Override
139
+	public List<Map<String, Object>> pm_record_info(String kid) {
140
+		return wxPmDao.pm_record_info(kid);
141
+	}
142
+
132 143
 }