| | |
| | | <PropertyDef name="ctz"> |
| | | <Property></Property> |
| | | <Property name="label">CT值</Property> |
| | | <Property name="dataType">double</Property> |
| | | <Property name="dataType">Double</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="sqqlhqnd"> |
| | | <Property></Property> |
| | |
| | | /** |
| | | * 根据表单主键更新操作标志状态 |
| | | * |
| | | * @param dwdm 主键ID |
| | | * @param |
| | | * @param czbz 操作标志 |
| | | * @return |
| | | */ |
| | | @Transactional |
| | | @Modifying |
| | | @Query("update Api9201 set czbz =:czbz where dwdm =:dwdm ") |
| | | int updateStatus(@Param("dwdm") String dwdm, @Param("czbz") String czbz); |
| | | @Query("update Api9201 set czbz =:czbz where tbrq =:tbrq and czbz = 'i'") |
| | | int updateStatus(@Param("tbrq") Date tbrq, @Param("czbz") String czbz); |
| | | |
| | | |
| | | @Query("from Api9201 where kqdm=:kqdm and zhgxsj >=:start and zhgxsj <:end order by zhgxsj ") |
| | |
| | | result += responseDto.toString(); |
| | | if (responseDto.getSuccess() == 0) { |
| | | if (Constant.CZBZ_I.equals(d.getCzbz())) { |
| | | api9201Rep.updateStatus(data.getDwdm(), Constant.CZBZ_U); |
| | | api9201Rep.updateStatus(data.getTbrq(), Constant.CZBZ_U); |
| | | } |
| | | } |
| | | } |
| | |
| | | for (Api9201 data : items) { |
| | | if (Constant.CZBZ_I.equals(data.getCzbz())) { |
| | | //更新状态 |
| | | api9201Rep.updateStatus(data.getDwdm(), Constant.CZBZ_U); |
| | | api9201Rep.updateStatus(data.getTbrq(), Constant.CZBZ_U); |
| | | } |
| | | } |
| | | } |