{
  "memo" : "获取本项目对应资源标准价格",
  "codename" : "getRecPrice",
  "psdelogicname" : "获取资源标准价格",
  "logicholder" : 1,
  "logictype" : "DELOGIC",
  "createdate" : "2021-02-26 14:21:46",
  "psdelogiclinks" : [ {
    "defaultlink" : 0,
    "srcpsdelogicnodeid" : "<PSDELOGIC>/Begin",
    "srcendpoint" : "BottomCenter",
    "dstpsdelogicnodeid" : "<PSDELOGIC>/Rawsqlcall1",
    "linkinfo" : "连接6254:100",
    "psdelogiclinkname" : "连接6254",
    "createdate" : "2021-02-28 13:43:42",
    "ordervalue" : 100,
    "dstendpoint" : "Top"
  }, {
    "defaultlink" : 0,
    "srcpsdelogicnodeid" : "<PSDELOGIC>/Rawsqlcall1",
    "srcendpoint" : "BottomCenter",
    "dstpsdelogicnodeid" : "<PSDELOGIC>/Rawsqlcall2",
    "linkinfo" : "连接4043:100",
    "psdelogiclinkname" : "连接4043",
    "createdate" : "2021-02-28 13:43:42",
    "ordervalue" : 100,
    "dstendpoint" : "Top"
  } ],
  "psdelogicnodes" : [ {
    "leftpos" : 407,
    "codename" : "Begin",
    "paralleloutput" : 1,
    "psdelogicnodename" : "开始",
    "createdate" : "2021-02-26 14:21:46",
    "logicnodetype" : "BEGIN",
    "toppos" : 82
  }, {
    "leftpos" : 408,
    "param4" : "INSERT into PSAPROJECTRECPRICE\n(PSAPROJECTRECPRICEID,createman,createdate,updateman,updatedate,PSAPROJECTID,RESOURCETYPEID,STANDPRICE,TOTALPRICE)\nselect concat(t1.PSAPROJECTID,'-',t.RESOURCETYPEID) as PSAPROJECTRECPRICEID,\nt.UPDATEMAN,t.UPDATEDATE,t.UPDATEMAN,t.UPDATEDATE,\nt1.PSAPROJECTID,t.RESOURCETYPEID,t.STANDPRICE,t.TOTALPRICE FROM RESOURCEPRICE t \nINNER JOIN PSAPROJECT t1 on t.PSAPROJECTTYPEID=t1.PSAPROJECTTYPEID\nwhere (t.SITEID=t1.SITEID and  t.SITEID is not null)\nand not EXISTS\n(select 1 from  PSAPROJECTRECPRICE a where a.PSAPROJECTRECPRICEID=concat(t1.PSAPROJECTID,'-',t.RESOURCETYPEID))\nand t1.PSAPROJECTID=?",
    "param9" : 0,
    "codename" : "Rawsqlcall1",
    "paralleloutput" : 1,
    "psdelogicnodename" : "获取带地区资源标准价格",
    "createdate" : "2021-02-28 13:43:42",
    "logicnodetype" : "RAWSQLCALL",
    "toppos" : 250,
    "psdelnparams" : [ {
      "srcpsdlparamid" : "<PSDELOGIC>/Default",
      "srcpsdlparamname" : "Default",
      "customsrcparam" : "PSAPROJECTID",
      "ordervalue" : 100,
      "srcvaluetype" : "SRCDLPARAM",
      "paramtype" : "SQLPARAM",
      "psdelnparamname" : "Default[PSAPROJECTID]",
      "createdate" : "2021-02-28 13:43:42"
    } ]
  }, {
    "leftpos" : 408,
    "param4" : "INSERT into PSAPROJECTRECPRICE\n(PSAPROJECTRECPRICEID,createman,createdate,updateman,updatedate,PSAPROJECTID,RESOURCETYPEID,STANDPRICE,TOTALPRICE)\nselect concat(t1.PSAPROJECTID,'-',t.RESOURCETYPEID) as PSAPROJECTRECPRICEID,\nt.UPDATEMAN,t.UPDATEDATE,t.UPDATEMAN,t.UPDATEDATE,\nt1.PSAPROJECTID,t.RESOURCETYPEID,t.STANDPRICE,t.TOTALPRICE FROM RESOURCEPRICE t \nINNER JOIN PSAPROJECT t1 on t.PSAPROJECTTYPEID=t1.PSAPROJECTTYPEID\nwhere (t.SITEID is  null)\nand not EXISTS\n(select 1 from  PSAPROJECTRECPRICE a where a.PSAPROJECTRECPRICEID=concat(t1.PSAPROJECTID,'-',t.RESOURCETYPEID))\nand t1.PSAPROJECTID=?",
    "param9" : 0,
    "codename" : "Rawsqlcall2",
    "paralleloutput" : 1,
    "psdelogicnodename" : "获取无地区资源标准价格",
    "createdate" : "2021-02-28 13:43:42",
    "logicnodetype" : "RAWSQLCALL",
    "toppos" : 429,
    "psdelnparams" : [ {
      "srcpsdlparamid" : "<PSDELOGIC>/Default",
      "srcpsdlparamname" : "Default",
      "customsrcparam" : "PSAPROJECTID",
      "ordervalue" : 100,
      "srcvaluetype" : "SRCDLPARAM",
      "paramtype" : "SQLPARAM",
      "psdelnparamname" : "Default[PSAPROJECTID]",
      "createdate" : "2021-02-28 13:43:42"
    } ]
  } ],
  "psdelogicparams" : [ {
    "parampsdeid" : "<PSDATAENTITY>",
    "globalparam" : 0,
    "defaultparam" : 1,
    "logicname" : "传入变量",
    "psdelogicparamname" : "Default",
    "createdate" : "2021-02-26 14:21:46"
  } ]
}