18756
2024-08-20 addada941082cac58b7ff8b16e3bd4c1c5b49fcc
src/main/java/com/product/administration/service/ConferenceManagerService.java
@@ -429,7 +429,7 @@
        BitMatrix bitMatrix = null;
        try {
            //生成矩阵,因为我的业务场景传来的是编码之后的URL,所以先解码
            bitMatrix = new MultiFormatWriter().encode(content,
                    BarcodeFormat.QR_CODE, width, height, hints);
@@ -444,15 +444,17 @@
    public void CancelAndStart(FieldSetEntity fse) throws BaseException {
        String uuid = fse.getString("uuid");
        String filter=" status='"+uuid+"'";
        String filter=" uuid='"+uuid+"'";
        DataTableEntity product_oa_conference_apply = baseDao.listTable("product_oa_conference_apply", filter, new Object[]{});
        FieldSetEntity fieldSetEntity = product_oa_conference_apply.getFieldSetEntity(0);
        if(fieldSetEntity.getString("status").equals("已取消")){
            fieldSetEntity.setValue("status","已启用");
        }else {
            fieldSetEntity.setValue("status","已取消");
        if(product_oa_conference_apply.getRows()!=0){
            FieldSetEntity fieldSetEntity = product_oa_conference_apply.getFieldSetEntity(0);
            if(fieldSetEntity.getString("status").equals("已取消")){
                fieldSetEntity.setValue("status","已启用");
            }else {
                fieldSetEntity.setValue("status","已取消");
            }
            baseDao.update(fieldSetEntity);
        }
        baseDao.update(fieldSetEntity);
    }