Commit 741ae9fe by 兰国旗

laolan

parent d292349e
......@@ -221,11 +221,11 @@ class MediaaggregationDao extends Dao {
};
if(apiType && apiType == '1'){//二类产品资质选项(选取数据线索的数据)
var dataCount = "select count(1) as dataCount from mc_clue_maintenance where deleted_at is null";
var sql = "select * from mc_clue_maintenance where deleted_at is null";
var sql = "select clue_info from mc_clue_maintenance where deleted_at is null";
}
if(apiType && apiType == '2'){//留资表单产品列表(我需要)
var dataCount = "select count(1) as dataCount from mc_clue_maintenance where deleted_at is null and code = :code ";
var sql = "select * from mc_clue_maintenance where deleted_at is null and code = :code ";
var sql = "select clue_info from mc_clue_maintenance where deleted_at is null and code = :code ";
}
......
......@@ -127,7 +127,7 @@ class MediaaggregationSve {
//周期产品二类
async cycleProductSecend(pobj) {
if (!pobj) {
if (!pobj || !pobj.actionBody.cycle_type) {
return system.getResultFail(-100, "参数错误");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment