update doip-sdk irp-sdk

This commit is contained in:
CaiHQ 2023-04-05 16:25:52 +08:00
parent 0d4f0243a2
commit 3f4d154d2b
2 changed files with 4 additions and 1 deletions

View File

@ -41,7 +41,7 @@ dependencies {
implementation 'org.apache.velocity:velocity-engine-core:2.3'
implementation 'com.nimbusds:nimbus-jose-jwt:9.10'
implementation 'org.bdware.doip:doip-sdk:1.3.9'
implementation 'org.bdware.doip:doip-audit-tool:1.2.1'
implementation 'org.bdware.doip:doip-audit-tool:1.2.2'
implementation 'org.bdware.doip:bdosclient:0.0.2'
implementation fileTree(dir: 'lib', include: '*.jar')
testImplementation 'junit:junit:4.13.2'

View File

@ -103,6 +103,9 @@ public class ContractRepositoryHandler extends RepositoryHandlerBase implements
if (digitalObject.attributes.has("contractExecType"))
c.setType(ContractExecType.valueOf(digitalObject.attributes.get("contractExecType").getAsString()));
else c.setType(ContractExecType.Sole);
if (digitalObject.attributes.has("shardingId"))
c.setType(ContractExecType.valueOf(digitalObject.attributes.get("shardingId").getAsString()));
else c.setShardingId(-1);
c.setScript(path);
c.setOwner(doipMessage.credential.getSigner());
if (digitalObject.attributes.has("createParam")) {