|
@@ -115,7 +115,7 @@ import com.xtframe.util.StringUtils;
|
|
|
* 许可证管理Controller
|
|
|
*
|
|
|
* @author xuhx
|
|
|
- *
|
|
|
+ *
|
|
|
*/
|
|
|
@Controller
|
|
|
@RequestMapping("/xkzbg")
|
|
@@ -184,6 +184,7 @@ public class XkzbgCtl extends BaseWebCtl {
|
|
|
private XkzsqfjService xkzsqfjService;
|
|
|
@Autowired
|
|
|
private XzglbmxxService xzglbmxxService;
|
|
|
+
|
|
|
@RequestMapping(value = "/main")
|
|
|
@RequiresPermissions("gkjyxkbg:main")
|
|
|
public String main(SimplePageRequest page, Model model, final String lczt, final String szdid, final String szgkid, final String szgqid, final String gkjyr, final String fddbr, final String bgdd, String menuid) throws JsonProcessingException {
|
|
@@ -960,6 +961,9 @@ public class XkzbgCtl extends BaseWebCtl {
|
|
|
str = str + bw.getBwmc();
|
|
|
}
|
|
|
}
|
|
|
+ if (str != null && str.endsWith(",")) {
|
|
|
+ str = str.substring(0, str.length() - 1);
|
|
|
+ }
|
|
|
jyfwstr = jyfwstr + str + ")<br/>";
|
|
|
jylzstr += str + jydy + "<br/>";
|
|
|
jyfwids.add(entity.getJyfwid());
|
|
@@ -1203,6 +1207,9 @@ public class XkzbgCtl extends BaseWebCtl {
|
|
|
str = str + bw.getBwmc();
|
|
|
}
|
|
|
}
|
|
|
+ if (str != null && str.endsWith(",")) {
|
|
|
+ str = str.substring(0, str.length() - 1);
|
|
|
+ }
|
|
|
jyfwstr = jyfwstr + str + ")<br/>";
|
|
|
jylzstr += str + jydy + "<br/>";
|
|
|
jyfwids.add(entity.getJyfwid());
|
|
@@ -1536,6 +1543,9 @@ public class XkzbgCtl extends BaseWebCtl {
|
|
|
str = str + bw.getBwmc();
|
|
|
}
|
|
|
}
|
|
|
+ if (str != null && str.endsWith(",")) {
|
|
|
+ str = str.substring(0, str.length() - 1);
|
|
|
+ }
|
|
|
jyfwstr = jyfwstr + str + ")<br/>";
|
|
|
jylzstr += str + jydy + "<br/>";
|
|
|
jyfwids.add(entity.getJyfwid());
|
|
@@ -2266,7 +2276,8 @@ public class XkzbgCtl extends BaseWebCtl {
|
|
|
|
|
|
}
|
|
|
// rtx提醒
|
|
|
- //rtxSend(xkzbgEntity.getSzgq().getId(), Constants.ROLE_CLSC, "你有一条许可证变更待办事务,请及时处理!");
|
|
|
+ // rtxSend(xkzbgEntity.getSzgq().getId(), Constants.ROLE_CLSC,
|
|
|
+ // "你有一条许可证变更待办事务,请及时处理!");
|
|
|
} catch (Exception e) {
|
|
|
wr.setSuccess(false);
|
|
|
wr.setMessage("操作失败!");
|
|
@@ -2507,7 +2518,8 @@ public class XkzbgCtl extends BaseWebCtl {
|
|
|
}
|
|
|
xkzbgService.changeAudit(null, xkzbgEntity, true);
|
|
|
// rtx提醒
|
|
|
- //rtxSend(xkzbgEntity.getSzgq().getId(), Constants.ROLE_CLSC, "你有一条许可证变更待办事务,请及时处理!");
|
|
|
+ // rtxSend(xkzbgEntity.getSzgq().getId(), Constants.ROLE_CLSC,
|
|
|
+ // "你有一条许可证变更待办事务,请及时处理!");
|
|
|
} catch (Exception e) {
|
|
|
wr.setSuccess(false);
|
|
|
wr.setMessage("操作失败!");
|
|
@@ -2675,7 +2687,8 @@ public class XkzbgCtl extends BaseWebCtl {
|
|
|
}
|
|
|
} else {
|
|
|
// rtx提醒
|
|
|
- //rtxSend(entity.getSzgq().getId(), role, "你有一条许可证变更待办事务,请及时处理!");
|
|
|
+ // rtxSend(entity.getSzgq().getId(), role,
|
|
|
+ // "你有一条许可证变更待办事务,请及时处理!");
|
|
|
}
|
|
|
wr.setAttr("jflag", jflag);
|
|
|
} catch (Exception e) {
|
|
@@ -2757,6 +2770,9 @@ public class XkzbgCtl extends BaseWebCtl {
|
|
|
str = str + bw.getBwmc();
|
|
|
}
|
|
|
}
|
|
|
+ if (str != null && str.endsWith(",")) {
|
|
|
+ str = str.substring(0, str.length() - 1);
|
|
|
+ }
|
|
|
jylzstr += str + " ";
|
|
|
}
|
|
|
jds.setXkzrn("同意你(单位)人事以下港口经营业务:" + jyfwstr2);
|
|
@@ -2962,10 +2978,10 @@ public class XkzbgCtl extends BaseWebCtl {
|
|
|
xkz.setZyqyfw(jyfwstr2);
|
|
|
xkz.setCq(jylzstr);
|
|
|
if (!StringUtils.isEmpty(user.getSsglbm())) {
|
|
|
- XzglbmxxEntity glbm= user.getSsglbm();
|
|
|
- if("00".equals(glbm.getPid())){
|
|
|
+ XzglbmxxEntity glbm = user.getSsglbm();
|
|
|
+ if ("00".equals(glbm.getPid())) {
|
|
|
xkz.setFzjg(glbm.getGkglbmqc());
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
XzglbmxxEntity pglbm = xzglbmxxService.getPglbm(glbm.getPid());
|
|
|
xkz.setFzjg(pglbm.getGkglbmqc());
|
|
|
}
|