| | |
| | | import com.product.face.config.FaceConst; |
| | | import com.product.face.service.ide.IFaceDesignService; |
| | | import com.product.face.util.FaceUtil; |
| | | import com.product.file.config.CmnConst; |
| | | import com.product.util.BaseUtil; |
| | | import org.apache.poi.hdgf.pointers.Pointer; |
| | | import org.apache.poi.ss.formula.functions.T; |
| | |
| | | @Resource |
| | | public PublicService publicService; |
| | | |
| | | public DataTableEntity listAllTable(){ |
| | | return getBaseDao().listTable("product_sys_datamodel_table", null, "table_type ASC"); |
| | | } |
| | | |
| | | public DataTableEntity listAllDesignFace(){ |
| | | return getBaseDao().listTable(FaceConst.TABLE_FACE_CONFIG); |
| | | } |
| | | |
| | | /** |
| | | * 获取表单配置详情 |
| | | * |
| | |
| | | FieldSetEntity fs = getTemplateFieldSet(entry.getKey(), entry.getValue(), groupUuid); |
| | | if (fs != null) { |
| | | int propertyType = fs.getInteger(FaceConst.FIELD_PROPERTY_TYPE).intValue(); |
| | | // 2025年6月16日 14:28:39 移动端 人员选择字段未选,默认为0 bug解决(本身是false,但是数据库保存为0) |
| | | if (5 == propertyType && "defaultValue".equals(fs.getString("property_name")) && !fs.getBoolean("property_value")) { |
| | | continue; |
| | | } |
| | | if ((4 == propertyType || 3 == propertyType) && (entry.getValue() instanceof JSONArray || entry.getValue() instanceof JSONObject)) { |
| | | try { |
| | | fieldSetList.addAll(controlTraverse(entry.getValue(), fs.getUUID(), null, pointer)); |