类 Y9FormServiceImpl
- java.lang.Object
-
- net.risesoft.service.form.impl.Y9FormServiceImpl
-
- 所有已实现的接口:
Y9FormService
@Service @Transactional(value="rsTenantTransactionManager", readOnly=true) public class Y9FormServiceImpl extends Object implements Y9FormService- 作者:
- qinman, zhangchongjie
- Date:
- 2022/12/20
-
-
构造器概要
构造器 构造器 说明 Y9FormServiceImpl(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate4Tenant, Y9FormRepository y9FormRepository, Y9TableService y9TableService, Y9FormFieldRepository y9FormFieldRepository, Y9TableFieldRepository y9TableFieldRepository, SpmApproveItemRepository approveItemRepository)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 net.risesoft.pojo.Y9Result<Object>delChildTableRow(String formId, String tableId, String guid)删除子表数据net.risesoft.pojo.Y9Result<Object>delete(String ids)根据id删除表单booleandeleteByGuid(String y9TableId, String guid)Description:net.risesoft.pojo.Y9Result<Object>delPreFormData(String formId, String guid)删除表单数据Y9FormfindById(String id)根据id获取表单信息Map<String,Object>getData(String guid, String tableName)获取表单是否有数据Map<String,Object>getFormData(String formId, String guid)获取表单数据Map<String,Object>getFormData4Var(String formId, String guid)获取表单数据StringgetFormField(String id)获取表单绑定字段信息List<Y9Form>listAll()获取所有表单信息List<Map<String,Object>>listChildFormData(String formId, String parentProcessSerialNumber)Description: 获取子表数据,一个表单是一个子表List<Map<String,Object>>listChildTableData(String formId, String tableId, String processSerialNumber)Description: 获取子表数据List<Map<String,Object>>listFormData(String formId)获取表单数据列表net.risesoft.pojo.Y9Page<Map<String,Object>>pageFormList(String systemName, int page, int rows)Description: 根据应用id分页获取表单列表net.risesoft.pojo.Y9Result<Object>saveChildTableData(String formId, String jsonData)保存子表数据,一个表单是一个子表net.risesoft.pojo.Y9Result<Object>saveChildTableData(String formId, String tableId, String processSerialNumber, String jsonData)保存子表数据net.risesoft.pojo.Y9Result<Object>saveFormData(String formdata)保存表单数据net.risesoft.pojo.Y9Result<Object>saveFormField(String formId, String fieldJson)保存绑定表单字段信息net.risesoft.pojo.Y9Result<Object>saveFormJson(String id, String formJson)保存表单jsonnet.risesoft.pojo.Y9Result<Object>saveOrUpdate(Y9Form form)保存表单信息
-
-
-
构造器详细资料
-
Y9FormServiceImpl
public Y9FormServiceImpl(@Qualifier("jdbcTemplate4Tenant") org.springframework.jdbc.core.JdbcTemplate jdbcTemplate4Tenant, Y9FormRepository y9FormRepository, Y9TableService y9TableService, Y9FormFieldRepository y9FormFieldRepository, Y9TableFieldRepository y9TableFieldRepository, SpmApproveItemRepository approveItemRepository)
-
-
方法详细资料
-
delChildTableRow
@Transactional public net.risesoft.pojo.Y9Result<Object> delChildTableRow(String formId, String tableId, String guid)
从接口复制的说明:Y9FormService删除子表数据- 指定者:
delChildTableRow在接口中Y9FormService- 返回:
-
delPreFormData
@Transactional public net.risesoft.pojo.Y9Result<Object> delPreFormData(String formId, String guid)
从接口复制的说明:Y9FormService删除表单数据- 指定者:
delPreFormData在接口中Y9FormService- 返回:
-
delete
@Transactional public net.risesoft.pojo.Y9Result<Object> delete(String ids)
从接口复制的说明:Y9FormService根据id删除表单- 指定者:
delete在接口中Y9FormService- 返回:
-
deleteByGuid
@Transactional public boolean deleteByGuid(String y9TableId, String guid)
从接口复制的说明:Y9FormServiceDescription:- 指定者:
deleteByGuid在接口中Y9FormService- 返回:
-
findById
public Y9Form findById(String id)
从接口复制的说明:Y9FormService根据id获取表单信息- 指定者:
findById在接口中Y9FormService- 返回:
-
getData
public Map<String,Object> getData(String guid, String tableName)
从接口复制的说明:Y9FormService获取表单是否有数据- 指定者:
getData在接口中Y9FormService- 返回:
-
getFormData
public Map<String,Object> getFormData(String formId, String guid)
从接口复制的说明:Y9FormService获取表单数据- 指定者:
getFormData在接口中Y9FormService- 返回:
-
getFormData4Var
public Map<String,Object> getFormData4Var(String formId, String guid)
从接口复制的说明:Y9FormService获取表单数据- 指定者:
getFormData4Var在接口中Y9FormService- 返回:
-
getFormField
public String getFormField(String id)
从接口复制的说明:Y9FormService获取表单绑定字段信息- 指定者:
getFormField在接口中Y9FormService- 返回:
-
listAll
public List<Y9Form> listAll()
从接口复制的说明:Y9FormService获取所有表单信息- 指定者:
listAll在接口中Y9FormService- 返回:
-
listChildFormData
public List<Map<String,Object>> listChildFormData(String formId, String parentProcessSerialNumber)
从接口复制的说明:Y9FormServiceDescription: 获取子表数据,一个表单是一个子表- 指定者:
listChildFormData在接口中Y9FormService- 返回:
-
listChildTableData
public List<Map<String,Object>> listChildTableData(String formId, String tableId, String processSerialNumber) throws Exception
从接口复制的说明:Y9FormServiceDescription: 获取子表数据- 指定者:
listChildTableData在接口中Y9FormService- 返回:
- 抛出:
Exception
-
listFormData
public List<Map<String,Object>> listFormData(String formId)
从接口复制的说明:Y9FormService获取表单数据列表- 指定者:
listFormData在接口中Y9FormService- 返回:
-
pageFormList
public net.risesoft.pojo.Y9Page<Map<String,Object>> pageFormList(String systemName, int page, int rows)
从接口复制的说明:Y9FormServiceDescription: 根据应用id分页获取表单列表- 指定者:
pageFormList在接口中Y9FormService- 返回:
-
saveChildTableData
@Transactional public net.risesoft.pojo.Y9Result<Object> saveChildTableData(String formId, String tableId, String processSerialNumber, String jsonData)
从接口复制的说明:Y9FormService保存子表数据- 指定者:
saveChildTableData在接口中Y9FormService- 返回:
-
saveChildTableData
@Transactional public net.risesoft.pojo.Y9Result<Object> saveChildTableData(String formId, String jsonData)
从接口复制的说明:Y9FormService保存子表数据,一个表单是一个子表- 指定者:
saveChildTableData在接口中Y9FormService- 返回:
-
saveFormData
@Transactional public net.risesoft.pojo.Y9Result<Object> saveFormData(String formdata)
从接口复制的说明:Y9FormService保存表单数据- 指定者:
saveFormData在接口中Y9FormService- 返回:
-
saveFormField
@Transactional public net.risesoft.pojo.Y9Result<Object> saveFormField(String formId, String fieldJson)
从接口复制的说明:Y9FormService保存绑定表单字段信息- 指定者:
saveFormField在接口中Y9FormService- 返回:
-
saveFormJson
@Transactional public net.risesoft.pojo.Y9Result<Object> saveFormJson(String id, String formJson)
从接口复制的说明:Y9FormService保存表单json- 指定者:
saveFormJson在接口中Y9FormService- 返回:
-
saveOrUpdate
@Transactional public net.risesoft.pojo.Y9Result<Object> saveOrUpdate(Y9Form form)
从接口复制的说明:Y9FormService保存表单信息- 指定者:
saveOrUpdate在接口中Y9FormService- 返回:
-
-