|
@@ -4071,19 +4071,19 @@ public class RuralProjectMessageService extends CrudService<RuralProjectMessageD
|
|
companyAction.setType("CORPORATE");
|
|
companyAction.setType("CORPORATE");
|
|
companyAction.setName("公司印章");
|
|
companyAction.setName("公司印章");
|
|
companyAction.setSerialNo("1");
|
|
companyAction.setSerialNo("1");
|
|
- //公司圆章
|
|
|
|
- serialIdSet.add(COMPANYROUNDSEALID);
|
|
|
|
|
|
+ //公司圆章(竖)
|
|
|
|
+ serialIdSet.add(COMPANYROUNDSEALIDVERTICAL);
|
|
//添加盖章位置
|
|
//添加盖章位置
|
|
List<Location> locations = Lists.newArrayList();
|
|
List<Location> locations = Lists.newArrayList();
|
|
for (String documentId: documentList) {
|
|
for (String documentId: documentList) {
|
|
Location location = new Location();
|
|
Location location = new Location();
|
|
- location.setSealId(COMPANYROUNDSEALID);
|
|
|
|
|
|
+ location.setSealId(COMPANYROUNDSEALIDVERTICAL);
|
|
location.setDocumentId(documentId);
|
|
location.setDocumentId(documentId);
|
|
location.setPage("0");
|
|
location.setPage("0");
|
|
location.setRectType("SEAL_CORPORATE");
|
|
location.setRectType("SEAL_CORPORATE");
|
|
location.setKeywordIndex(-1);
|
|
location.setKeywordIndex(-1);
|
|
- location.setOffsetX("0.6787");
|
|
|
|
- location.setOffsetY("0.4664");
|
|
|
|
|
|
+ location.setOffsetX("0.3787");
|
|
|
|
+ location.setOffsetY("0.6664");
|
|
locations.add(location);
|
|
locations.add(location);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -4093,7 +4093,7 @@ public class RuralProjectMessageService extends CrudService<RuralProjectMessageD
|
|
User user = UserUtils.get(principalUserId);
|
|
User user = UserUtils.get(principalUserId);
|
|
if(null != user){
|
|
if(null != user){
|
|
//获取成员印章id信息
|
|
//获取成员印章id信息
|
|
- String userSealId = SignaturePostUtil.getUserSealByMobile(user.getMobile(),"",user.getName() + "一级注册造价工程师章");
|
|
|
|
|
|
+ String userSealId = SignaturePostUtil.getUserSealByMobile(user.getMobile(),"",user.getName() + "一级注册造价工程师章-竖");
|
|
if(StringUtils.isNotBlank(userSealId)){
|
|
if(StringUtils.isNotBlank(userSealId)){
|
|
for (String documentId: documentList) {
|
|
for (String documentId: documentList) {
|
|
//添加盖章位置
|
|
//添加盖章位置
|
|
@@ -4104,8 +4104,8 @@ public class RuralProjectMessageService extends CrudService<RuralProjectMessageD
|
|
principalLocation.setPage("0");
|
|
principalLocation.setPage("0");
|
|
principalLocation.setRectType("SEAL_CORPORATE");
|
|
principalLocation.setRectType("SEAL_CORPORATE");
|
|
principalLocation.setKeywordIndex(-1);
|
|
principalLocation.setKeywordIndex(-1);
|
|
- principalLocation.setOffsetX("0.5376");
|
|
|
|
- principalLocation.setOffsetY("0.2771");
|
|
|
|
|
|
+ principalLocation.setOffsetX("0.5776");
|
|
|
|
+ principalLocation.setOffsetY("0.5171");
|
|
locations.add(principalLocation);
|
|
locations.add(principalLocation);
|
|
}
|
|
}
|
|
}else{
|
|
}else{
|
|
@@ -4115,7 +4115,7 @@ public class RuralProjectMessageService extends CrudService<RuralProjectMessageD
|
|
}
|
|
}
|
|
|
|
|
|
//获取成员个人签名章印章id信息
|
|
//获取成员个人签名章印章id信息
|
|
- String userSignatureSealId = SignaturePostUtil.getUserSealByMobile(user.getMobile(),"",user.getName() + "个人签名章");
|
|
|
|
|
|
+ String userSignatureSealId = SignaturePostUtil.getUserSealByMobile(user.getMobile(),"",user.getName() + "个人签名章-竖");
|
|
if(StringUtils.isNotBlank(userSignatureSealId)){
|
|
if(StringUtils.isNotBlank(userSignatureSealId)){
|
|
for (String documentId: documentList) {
|
|
for (String documentId: documentList) {
|
|
//添加盖章位置
|
|
//添加盖章位置
|
|
@@ -4126,8 +4126,8 @@ public class RuralProjectMessageService extends CrudService<RuralProjectMessageD
|
|
principalLocation.setPage("0");
|
|
principalLocation.setPage("0");
|
|
principalLocation.setRectType("SEAL_CORPORATE");
|
|
principalLocation.setRectType("SEAL_CORPORATE");
|
|
principalLocation.setKeywordIndex(-1);
|
|
principalLocation.setKeywordIndex(-1);
|
|
- principalLocation.setOffsetX("0.6476");
|
|
|
|
- principalLocation.setOffsetY("0.2671");
|
|
|
|
|
|
+ principalLocation.setOffsetX("0.5776");
|
|
|
|
+ principalLocation.setOffsetY("0.5671");
|
|
locations.add(principalLocation);
|
|
locations.add(principalLocation);
|
|
}
|
|
}
|
|
}else{
|
|
}else{
|
|
@@ -4145,7 +4145,7 @@ public class RuralProjectMessageService extends CrudService<RuralProjectMessageD
|
|
User technologyPrincipalUser = UserUtils.getByLoginName("陈红星");
|
|
User technologyPrincipalUser = UserUtils.getByLoginName("陈红星");
|
|
if(null != technologyPrincipalUser){
|
|
if(null != technologyPrincipalUser){
|
|
//获取成员印章id信息
|
|
//获取成员印章id信息
|
|
- String userSealId = SignaturePostUtil.getUserSealByMobile(technologyPrincipalUser.getMobile(),"","陈红星个人签名章");
|
|
|
|
|
|
+ String userSealId = SignaturePostUtil.getUserSealByMobile(technologyPrincipalUser.getMobile(),"","陈红星个人签名章-竖");
|
|
if(StringUtils.isNotBlank(userSealId)){
|
|
if(StringUtils.isNotBlank(userSealId)){
|
|
for (String documentId: documentList) {
|
|
for (String documentId: documentList) {
|
|
//添加盖章位置
|
|
//添加盖章位置
|
|
@@ -4156,8 +4156,8 @@ public class RuralProjectMessageService extends CrudService<RuralProjectMessageD
|
|
principalLocation.setPage("0");
|
|
principalLocation.setPage("0");
|
|
principalLocation.setRectType("SEAL_CORPORATE");
|
|
principalLocation.setRectType("SEAL_CORPORATE");
|
|
principalLocation.setKeywordIndex(-1);
|
|
principalLocation.setKeywordIndex(-1);
|
|
- principalLocation.setOffsetX("0.6958");
|
|
|
|
- principalLocation.setOffsetY("0.4009");
|
|
|
|
|
|
+ principalLocation.setOffsetX("0.4958");
|
|
|
|
+ principalLocation.setOffsetY("0.7009");
|
|
locations.add(principalLocation);
|
|
locations.add(principalLocation);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -4183,18 +4183,18 @@ public class RuralProjectMessageService extends CrudService<RuralProjectMessageD
|
|
companyAction.setName("公司印章");
|
|
companyAction.setName("公司印章");
|
|
companyAction.setSerialNo("1");
|
|
companyAction.setSerialNo("1");
|
|
//公司圆章
|
|
//公司圆章
|
|
- serialIdSet.add(COMPANYROUNDSEALID);
|
|
|
|
|
|
+ serialIdSet.add(COMPANYROUNDSEALIDVERTICAL);
|
|
//添加盖章位置
|
|
//添加盖章位置
|
|
List<Location> locations = Lists.newArrayList();
|
|
List<Location> locations = Lists.newArrayList();
|
|
for (String documentId: documentList) {
|
|
for (String documentId: documentList) {
|
|
Location location = new Location();
|
|
Location location = new Location();
|
|
- location.setSealId(COMPANYROUNDSEALID);
|
|
|
|
|
|
+ location.setSealId(COMPANYROUNDSEALIDVERTICAL);
|
|
location.setDocumentId(documentId);
|
|
location.setDocumentId(documentId);
|
|
location.setPage("0");
|
|
location.setPage("0");
|
|
location.setRectType("SEAL_CORPORATE");
|
|
location.setRectType("SEAL_CORPORATE");
|
|
location.setKeywordIndex(-1);
|
|
location.setKeywordIndex(-1);
|
|
- location.setOffsetX("0.6787");
|
|
|
|
- location.setOffsetY("0.3064");
|
|
|
|
|
|
+ location.setOffsetX("0.5187");
|
|
|
|
+ location.setOffsetY("0.6664");
|
|
locations.add(location);
|
|
locations.add(location);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -4204,7 +4204,7 @@ public class RuralProjectMessageService extends CrudService<RuralProjectMessageD
|
|
User user = UserUtils.get(principalUserId);
|
|
User user = UserUtils.get(principalUserId);
|
|
if(null != user){
|
|
if(null != user){
|
|
//获取成员印章id信息
|
|
//获取成员印章id信息
|
|
- String userSealId = SignaturePostUtil.getUserSealByMobile(user.getMobile(),"",user.getName() + "一级注册造价工程师章");
|
|
|
|
|
|
+ String userSealId = SignaturePostUtil.getUserSealByMobile(user.getMobile(),"",user.getName() + "一级注册造价工程师章-竖");
|
|
if(StringUtils.isNotBlank(userSealId)){
|
|
if(StringUtils.isNotBlank(userSealId)){
|
|
for (String documentId: documentList) {
|
|
for (String documentId: documentList) {
|
|
//添加盖章位置
|
|
//添加盖章位置
|
|
@@ -4215,8 +4215,8 @@ public class RuralProjectMessageService extends CrudService<RuralProjectMessageD
|
|
principalLocation.setPage("0");
|
|
principalLocation.setPage("0");
|
|
principalLocation.setRectType("SEAL_CORPORATE");
|
|
principalLocation.setRectType("SEAL_CORPORATE");
|
|
principalLocation.setKeywordIndex(-1);
|
|
principalLocation.setKeywordIndex(-1);
|
|
- principalLocation.setOffsetX("0.1376");
|
|
|
|
- principalLocation.setOffsetY("0.1371");
|
|
|
|
|
|
+ principalLocation.setOffsetX("0.7276");
|
|
|
|
+ principalLocation.setOffsetY("0.1571");
|
|
locations.add(principalLocation);
|
|
locations.add(principalLocation);
|
|
}
|
|
}
|
|
}else{
|
|
}else{
|
|
@@ -4226,7 +4226,7 @@ public class RuralProjectMessageService extends CrudService<RuralProjectMessageD
|
|
}
|
|
}
|
|
|
|
|
|
//获取成员个人签名章印章id信息
|
|
//获取成员个人签名章印章id信息
|
|
- String userSignatureSealId = SignaturePostUtil.getUserSealByMobile(user.getMobile(),"",user.getName() + "个人签名章");
|
|
|
|
|
|
+ String userSignatureSealId = SignaturePostUtil.getUserSealByMobile(user.getMobile(),"",user.getName() + "个人签名章-竖");
|
|
if(StringUtils.isNotBlank(userSignatureSealId)){
|
|
if(StringUtils.isNotBlank(userSignatureSealId)){
|
|
for (String documentId: documentList) {
|
|
for (String documentId: documentList) {
|
|
//添加盖章位置
|
|
//添加盖章位置
|
|
@@ -4237,8 +4237,8 @@ public class RuralProjectMessageService extends CrudService<RuralProjectMessageD
|
|
principalLocation.setPage("0");
|
|
principalLocation.setPage("0");
|
|
principalLocation.setRectType("SEAL_CORPORATE");
|
|
principalLocation.setRectType("SEAL_CORPORATE");
|
|
principalLocation.setKeywordIndex(-1);
|
|
principalLocation.setKeywordIndex(-1);
|
|
- principalLocation.setOffsetX("0.2476");
|
|
|
|
- principalLocation.setOffsetY("0.1671");
|
|
|
|
|
|
+ principalLocation.setOffsetX("0.6876");
|
|
|
|
+ principalLocation.setOffsetY("0.1771");
|
|
locations.add(principalLocation);
|
|
locations.add(principalLocation);
|
|
}
|
|
}
|
|
}else{
|
|
}else{
|
|
@@ -4256,7 +4256,7 @@ public class RuralProjectMessageService extends CrudService<RuralProjectMessageD
|
|
User technologyPrincipalUser = UserUtils.getByLoginName("陈红星");
|
|
User technologyPrincipalUser = UserUtils.getByLoginName("陈红星");
|
|
if(null != technologyPrincipalUser){
|
|
if(null != technologyPrincipalUser){
|
|
//获取成员印章id信息
|
|
//获取成员印章id信息
|
|
- String userSealId = SignaturePostUtil.getUserSealByMobile(technologyPrincipalUser.getMobile(),"","陈红星个人签名章");
|
|
|
|
|
|
+ String userSealId = SignaturePostUtil.getUserSealByMobile(technologyPrincipalUser.getMobile(),"","陈红星个人签名章-竖");
|
|
if(StringUtils.isNotBlank(userSealId)){
|
|
if(StringUtils.isNotBlank(userSealId)){
|
|
for (String documentId: documentList) {
|
|
for (String documentId: documentList) {
|
|
//添加盖章位置
|
|
//添加盖章位置
|
|
@@ -4267,8 +4267,8 @@ public class RuralProjectMessageService extends CrudService<RuralProjectMessageD
|
|
principalLocation.setPage("0");
|
|
principalLocation.setPage("0");
|
|
principalLocation.setRectType("SEAL_CORPORATE");
|
|
principalLocation.setRectType("SEAL_CORPORATE");
|
|
principalLocation.setKeywordIndex(-1);
|
|
principalLocation.setKeywordIndex(-1);
|
|
- principalLocation.setOffsetX("0.7958");
|
|
|
|
- principalLocation.setOffsetY("0.2909");
|
|
|
|
|
|
+ principalLocation.setOffsetX("0.6258");
|
|
|
|
+ principalLocation.setOffsetY("0.7809");
|
|
locations.add(principalLocation);
|
|
locations.add(principalLocation);
|
|
}
|
|
}
|
|
|
|
|