| | |
| | | package com.product.mobile.core.service; |
| | | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | import com.product.core.dao.BaseDao; |
| | | import com.product.core.entity.DataTableEntity; |
| | | import com.product.core.entity.FieldSetEntity; |
| | | import com.product.core.exception.BaseException; |
| | | import com.product.core.service.support.AbstractBaseService; |
| | | import com.product.util.BaseUtil; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | /** |
| | | * 手机端,获取用户所有应用 |
| | |
| | | }else { |
| | | |
| | | } |
| | | final String TEMP_TABLE = "temp_table"; |
| | | DataTableEntity dTableEntity = new DataTableEntity(); |
| | | FieldSetEntity moudel1=new FieldSetEntity(); |
| | | FieldSetEntity moudel1=new FieldSetEntity(TEMP_TABLE); |
| | | moudel1.setValue("name", "行政管理"); |
| | | moudel1.setValue("uuid", "adasdgddddfadfs"); |
| | | FieldSetEntity moudel2=new FieldSetEntity(); |
| | | FieldSetEntity moudel2=new FieldSetEntity(TEMP_TABLE); |
| | | moudel2.setValue("name", "项目管理"); |
| | | moudel2.setValue("uuid", "adasdgddddfadfs"); |
| | | dTableEntity.addFieldSetEntity(moudel1); |
| | | dTableEntity.addFieldSetEntity(moudel2); |
| | | |
| | | DataTableEntity f1=new DataTableEntity(); |
| | | FieldSetEntity function1=new FieldSetEntity(); |
| | | FieldSetEntity function1=new FieldSetEntity(TEMP_TABLE); |
| | | function1.setValue("name","客户管理"); |
| | | function1.setValue("icon","cc"); |
| | | function1.setValue("path","/asdfwasss"); |
| | | function1.setValue("uuid","asdfkldsjfelsdfdsf"); |
| | | FieldSetEntity function2=new FieldSetEntity(); |
| | | FieldSetEntity function2=new FieldSetEntity(TEMP_TABLE); |
| | | function2.setValue("name","报表管理"); |
| | | function2.setValue("icon","cc"); |
| | | function2.setValue("path","/asdfwasss"); |
| | | function2.setValue("uuid","asdfkldsjfelsdfdsf"); |
| | | FieldSetEntity function3=new FieldSetEntity(); |
| | | FieldSetEntity function3=new FieldSetEntity(TEMP_TABLE); |
| | | function3.setValue("name","公文管理"); |
| | | function3.setValue("icon","cc"); |
| | | function3.setValue("path","/asdfwasss"); |