正在显示
6 个修改的文件
包含
42 行增加
和
5 行删除
@@ -538,6 +538,7 @@ public class ManifestController extends BasicController { | @@ -538,6 +538,7 @@ public class ManifestController extends BasicController { | ||
538 | List<ManifestVo> manifestVos = new ArrayList<>(); | 538 | List<ManifestVo> manifestVos = new ArrayList<>(); |
539 | for (ManifestEntity mani : manis.getRows()){ | 539 | for (ManifestEntity mani : manis.getRows()){ |
540 | ManifestVo manifestVo = new ManifestVo(); | 540 | ManifestVo manifestVo = new ManifestVo(); |
541 | + manifestVo.setId(mani.getId()); | ||
541 | manifestVo.setUnlodingcode(mani.getUnlodingcode()); | 542 | manifestVo.setUnlodingcode(mani.getUnlodingcode()); |
542 | manifestVo.setCnecusid(mani.getCnecusid()); | 543 | manifestVo.setCnecusid(mani.getCnecusid()); |
543 | manifestVo.setShpcusid(mani.getShpcusid()); | 544 | manifestVo.setShpcusid(mani.getShpcusid()); |
@@ -625,10 +626,9 @@ public class ManifestController extends BasicController { | @@ -625,10 +626,9 @@ public class ManifestController extends BasicController { | ||
625 | } | 626 | } |
626 | 627 | ||
627 | /** | 628 | /** |
628 | - * * 模糊查询匹配信息 | ||
629 | - * | ||
630 | - * @param manifest | ||
631 | - * @return | 629 | + * 模糊查询匹配信息 |
630 | + * @param id | ||
631 | + * @param model | ||
632 | * @return | 632 | * @return |
633 | */ | 633 | */ |
634 | @RequestMapping(value = "/infor") | 634 | @RequestMapping(value = "/infor") |
@@ -157,6 +157,9 @@ public class LoginController { | @@ -157,6 +157,9 @@ public class LoginController { | ||
157 | UserEntity user = new UserEntity(); | 157 | UserEntity user = new UserEntity(); |
158 | user.setLoginaccount(loginAccount); | 158 | user.setLoginaccount(loginAccount); |
159 | user.setPassword(password); | 159 | user.setPassword(password); |
160 | + | ||
161 | + | ||
162 | + System.out.println("<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<"+PropertiesLoader.getLogin("openRemoteLogin")); | ||
160 | if (!loginAccount.equals("admin") && loginAccount.equals(PropertiesLoader.getLogin("openRemoteLogin"))) { | 163 | if (!loginAccount.equals("admin") && loginAccount.equals(PropertiesLoader.getLogin("openRemoteLogin"))) { |
161 | // 远程登录 | 164 | // 远程登录 |
162 | // 用户数据 | 165 | // 用户数据 |
@@ -290,6 +290,28 @@ public class ManifestEntity extends BasicEntity implements Serializable { | @@ -290,6 +290,28 @@ public class ManifestEntity extends BasicEntity implements Serializable { | ||
290 | private Long USER_ID; // 报文所属的用户id | 290 | private Long USER_ID; // 报文所属的用户id |
291 | 291 | ||
292 | 292 | ||
293 | + /*//BasicAgentEntity 货代 代理人三字码 | ||
294 | + private String agentCode; | ||
295 | + | ||
296 | + //UserEntity 用户账号 | ||
297 | + private String loginaccount; | ||
298 | + | ||
299 | + public String getAgentCode() { | ||
300 | + return agentCode; | ||
301 | + } | ||
302 | + | ||
303 | + public void setAgentCode(String agentCode) { | ||
304 | + this.agentCode = agentCode; | ||
305 | + } | ||
306 | + | ||
307 | + public String getLoginaccount() { | ||
308 | + return loginaccount; | ||
309 | + } | ||
310 | + | ||
311 | + public void setLoginaccount(String loginaccount) { | ||
312 | + this.loginaccount = loginaccount; | ||
313 | + }*/ | ||
314 | + | ||
293 | public String getUnlodingcode() { | 315 | public String getUnlodingcode() { |
294 | return StringUtils.isBlank(unlodingcode) ? getDestinationstation() : unlodingcode; | 316 | return StringUtils.isBlank(unlodingcode) ? getDestinationstation() : unlodingcode; |
295 | } | 317 | } |
@@ -8,6 +8,9 @@ import java.util.Date; | @@ -8,6 +8,9 @@ import java.util.Date; | ||
8 | */ | 8 | */ |
9 | public class ManifestVo { | 9 | public class ManifestVo { |
10 | 10 | ||
11 | + | ||
12 | + private Long id; | ||
13 | + | ||
11 | private String unlodingcode;// 卸货地代码 | 14 | private String unlodingcode;// 卸货地代码 |
12 | private String cnecusid;// 收货人代码 | 15 | private String cnecusid;// 收货人代码 |
13 | private String shpcusid;// 发货人代码 | 16 | private String shpcusid;// 发货人代码 |
@@ -296,6 +299,14 @@ public class ManifestVo { | @@ -296,6 +299,14 @@ public class ManifestVo { | ||
296 | this.cnecusid = cnecusid; | 299 | this.cnecusid = cnecusid; |
297 | } | 300 | } |
298 | 301 | ||
302 | + public Long getId() { | ||
303 | + return id; | ||
304 | + } | ||
305 | + | ||
306 | + public void setId(Long id) { | ||
307 | + this.id = id; | ||
308 | + } | ||
309 | + | ||
299 | public String getShpcusid() { | 310 | public String getShpcusid() { |
300 | return shpcusid; | 311 | return shpcusid; |
301 | } | 312 | } |
@@ -76,7 +76,7 @@ | @@ -76,7 +76,7 @@ | ||
76 | <value> | 76 | <value> |
77 | /receipt/a0608c4054662dd902e1314f7e450e3eaa81c114 = anon | 77 | /receipt/a0608c4054662dd902e1314f7e450e3eaa81c114 = anon |
78 | /login = anon | 78 | /login = anon |
79 | - | 79 | + /loginApi= anon |
80 | /druid/** = anon | 80 | /druid/** = anon |
81 | /unauthorized = anon | 81 | /unauthorized = anon |
82 | /resource/** = anon | 82 | /resource/** = anon |
@@ -198,6 +198,7 @@ | @@ -198,6 +198,7 @@ | ||
198 | }); | 198 | }); |
199 | 199 | ||
200 | function editFormat(val,row,index){ | 200 | function editFormat(val,row,index){ |
201 | + | ||
201 | var html='<a href="javascript:void(0)" style="padding-left:10px;text-decoration:none;color:blue;padding-right:20px;" onclick="editRow('+row.id+')"><i class="iconfont"></i></a>' | 202 | var html='<a href="javascript:void(0)" style="padding-left:10px;text-decoration:none;color:blue;padding-right:20px;" onclick="editRow('+row.id+')"><i class="iconfont"></i></a>' |
202 | html += '<a href="javascript:void(0)" style="text-decoration:none;margin-left:20px;color:blue;" onclick="makeHawb('+row.id+')"><i class="iconfont"></i><spring:message code="manifest.new.sheet"/></a>'; | 203 | html += '<a href="javascript:void(0)" style="text-decoration:none;margin-left:20px;color:blue;" onclick="makeHawb('+row.id+')"><i class="iconfont"></i><spring:message code="manifest.new.sheet"/></a>'; |
203 | return html; | 204 | return html; |
-
请 注册 或 登录 后发表评论