|
@@ -64,7 +64,7 @@ public class CodeConvertService implements ICodeConvertService{
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public CodeConvert findById(Long id) {
|
|
public CodeConvert findById(Long id) {
|
|
- return myBatisDao.get("advertiser.codeConvertSqlMapper.selectById", id);
|
|
|
|
|
|
+ return myBatisDao.get("codeConvertSqlMapper.selectById", id);
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|
|
@@ -82,7 +82,7 @@ public class CodeConvertService implements ICodeConvertService{
|
|
paramMap.put("key", paramMap.get("searchKey"));
|
|
paramMap.put("key", paramMap.get("searchKey"));
|
|
paramMap.put("value", searchValue);*/
|
|
paramMap.put("value", searchValue);*/
|
|
paramMap.put("pager", pager);
|
|
paramMap.put("pager", pager);
|
|
- return myBatisDao.getList("advertiser.codeConvertSqlMapper.selectByParamsadvertiser", paramMap);
|
|
|
|
|
|
+ return myBatisDao.getList("codeConvertSqlMapper.selectByParamsadvertiser", paramMap);
|
|
}
|
|
}
|
|
public List<CodeConvert> findByParamsOperator(Map<String, Object> paramMap, Pager pager) {
|
|
public List<CodeConvert> findByParamsOperator(Map<String, Object> paramMap, Pager pager) {
|
|
String searchValue = SqlHelper.doLike(paramMap.get("searchValue"));
|
|
String searchValue = SqlHelper.doLike(paramMap.get("searchValue"));
|
|
@@ -90,14 +90,14 @@ public class CodeConvertService implements ICodeConvertService{
|
|
paramMap.put("key", paramMap.get("searchKey"));
|
|
paramMap.put("key", paramMap.get("searchKey"));
|
|
paramMap.put("value", searchValue);
|
|
paramMap.put("value", searchValue);
|
|
paramMap.put("pager", pager);
|
|
paramMap.put("pager", pager);
|
|
- return myBatisDao.getList("operator.codeConvertSqlMapper.selectByParamsoperator", paramMap);
|
|
|
|
|
|
+ return myBatisDao.getList("codeConvertSqlMapper.selectByParamsoperator", paramMap);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public CodeConvert findByName(String convertName) {
|
|
public CodeConvert findByName(String convertName) {
|
|
- return myBatisDao.get("advertiser.codeConvertSqlMapper.selectByName", convertName);
|
|
|
|
|
|
+ return myBatisDao.get("codeConvertSqlMapper.selectByName", convertName);
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|
|
@@ -123,9 +123,9 @@ public class CodeConvertService implements ICodeConvertService{
|
|
public String getCode(Long id, int type) {
|
|
public String getCode(Long id, int type) {
|
|
// TODO Auto-generated method stub
|
|
// TODO Auto-generated method stub
|
|
if(type == 0){
|
|
if(type == 0){
|
|
- return myBatisDao.get("advertiser.codeConvertSqlMapper.getScriptById", id);
|
|
|
|
|
|
+ return myBatisDao.get("codeConvertSqlMapper.getScriptById", id);
|
|
}else{
|
|
}else{
|
|
- return myBatisDao.get("advertiser.codeConvertSqlMapper.getPicyureById", id);
|
|
|
|
|
|
+ return myBatisDao.get("codeConvertSqlMapper.getPicyureById", id);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|