public void updateProcessHistoryStatus(String className, Long id, Integer status) {
  final String hql = "UPDATE ProcessHistory SET flowStatus = :status WHERE instanceType=:instanceType and instancePk = :instancePk";
  this.getSession().createQuery(hql).setInteger("status", status).setLong("instancePk", id)
    .setString("instanceType", className).executeUpdate();
 }

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-06
  • 2021-08-14
  • 2021-11-06
  • 2021-11-06
猜你喜欢
  • 2022-12-23
  • 2021-06-10
  • 2022-12-23
  • 2021-08-14
  • 2021-07-25
  • 2022-12-23
  • 2022-01-02
相关资源
相似解决方案