|  |  |  | 
|---|
|  |  |  | import com.matrix.system.common.constance.AppConstance; | 
|---|
|  |  |  | import com.matrix.system.common.dao.BusParameterSettingsDao; | 
|---|
|  |  |  | import com.matrix.system.common.dao.SysCompanyDao; | 
|---|
|  |  |  | import com.matrix.system.constance.Dictionary; | 
|---|
|  |  |  | import com.matrix.system.hive.bean.ParameterSettings; | 
|---|
|  |  |  | import com.matrix.system.hive.dao.ParameterSettingsDao; | 
|---|
|  |  |  | import org.junit.Test; | 
|---|
|  |  |  | 
|---|
|  |  |  | newSetting3.setCategory("微信开发配置"); | 
|---|
|  |  |  | newSettings.add(newSetting3); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ParameterSettings newSetting4=new ParameterSettings(); | 
|---|
|  |  |  | newSetting4.setCode(AppConstance.SHOP_MANAGE_JJCPAS_CONSUME); | 
|---|
|  |  |  | newSetting4.setName("家居产品销售是否生成消耗业绩"); | 
|---|
|  |  |  | newSetting4.setType(1); | 
|---|
|  |  |  | newSetting4.setCategory("店务配置"); | 
|---|
|  |  |  | newSettings.add(newSetting4); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ParameterSettings newSetting5=new ParameterSettings(); | 
|---|
|  |  |  | newSetting5.setCode(AppConstance.WX_ORDER_NOTICE_DINGDING_TOKEN); | 
|---|
|  |  |  | newSetting5.setName("钉钉通知token"); | 
|---|
|  |  |  | newSetting5.setType(1); | 
|---|
|  |  |  | newSetting5.setCategory("微商城配置"); | 
|---|
|  |  |  | newSettings.add(newSetting5); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ParameterSettings newSetting6=new ParameterSettings(); | 
|---|
|  |  |  | newSetting6.setCode(Dictionary.ZS_CONSUME_ACHIEVE); | 
|---|
|  |  |  | newSetting6.setName("赠送项目是否计算消耗业绩"); | 
|---|
|  |  |  | newSetting6.setType(1); | 
|---|
|  |  |  | newSetting6.setCategory("店务配置"); | 
|---|
|  |  |  | newSettings.add(newSetting6); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | for (ParameterSettings newSetting : newSettings) { | 
|---|