javaEE使用标志位完成流程审批

来源:互联网 发布:java调用weka 编辑:程序博客网 时间:2024/05/16 19:13

流程表
medical_flow

private static final long serialVersionUID = 1L;    private String bindid;      // 关联主键    private String username;        // 操作人    private String opinion;     // 留言    private String step;        // 节点    private String flowStatus;      // 流转状态    private String deptCode;        // 科室编码    private String dept;        // 科室名称

业务表Form页面

<c:if test="${advReportInstrument.approvalStatus != '0'}">  <table  width="90%"  class="table-form" border="1" >   <tr class="table-caption" style="height: 14px">      <td colspan="5">流转痕迹     <span style="float:right; margin-bottom:-2px; margin-right: 15px"; id="yc">     <a class="" id="btnAddRow1" title="隐藏" style="color: white">         <i class="fa fa-plus" style="color: white" ></i> 隐藏  </a>        </span>     <span style="float:right; margin-bottom:-2px; margin-right: 15px;display: none" " id="xs">        <a class="" id="btnAddRow"  title="显示" style="color: white" >        <i class="fa fa-plus" style="color: white"  ></i> 显示  </a>        </span>                              </td>   </tr></table>    <div id="yinCang" >    <table  width="90%"  class="table-form" border="1" >        <tr class="lv row-lbl" style="font-size:14px" id="biaoTou">          <th width="11%" height="33" style="text-align:center; " scope="col">办理者</th>          <th width="11%" height="33" style="text-align:center;" scope="col">节点</th>          <th width="18%" height="33" style="text-align:center;" scope="col">办理时间</th>          <th width="50%" style="text-align:center; " scope="col">意见</th>          <th width="10%" height="33" style="text-align:center;" scope="col">流转状态</th>        </tr>      <c:forEach items="${list3}" var="item"  varStatus="status">        <tr style="font-size:14px" id="biaoNei">            <td height="30" align="center" name ="">${item.username }</td>               <td align="center" name ="">             <c:if test="${item.step == '0' }">未上报</c:if>             <c:if test="${item.step == '1' }">待分配</c:if>             <c:if test="${item.step == '3' }">待整改</c:if>             <c:if test="${item.step == '4' }">待审核</c:if>             <c:if test="${item.step == '5' }">质控办备案</c:if>             <c:if test="${item.step == '6' }">质控办分发</c:if>             <c:if test="${item.step == '7' }">当事科室评价</c:if>             <c:if test="${item.step == '8' }">质控办评价</c:if>             <c:if test="${item.step eq null }">未知</c:if>            </td>           <td align="center" name ="" ><fmt:formatDate value="${item.updateDate}" pattern="yyyy-MM-dd HH:mm:ss"/> </td>           <td align="left" name ="" > ${item.opinion}</td>           <td align="center"  name ="">           <c:if test="${item.flowStatus == '提交' ||item.flowStatus == '审核通过' ||item.flowStatus == '可行'}"><span style="color:green;">${item.flowStatus} </span></c:if>           <c:if test="${item.flowStatus == '不可行' ||item.flowStatus == '不通过'||item.flowStatus == '审核不通过'}">           <span style="color:red;">${item.flowStatus} </span></c:if>              </td>        </tr>    </c:forEach>               </table>                 </div> </c:if>