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
  • 2021-07-03
  • 2021-10-17
  • 2021-11-25
  • 2022-12-23
  • 2021-09-28
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-10
  • 2022-12-23
  • 2021-07-25
  • 2022-12-23
  • 2022-01-02
  • 2022-12-23
相关资源
相似解决方案