@ -129,11 +129,24 @@ async function projectAnxincloud (ctx) {
asyncfunctionprojectPManage(ctx){
asyncfunctionprojectPManage(ctx){
try{
try{
constmodels=ctx.fs.dc.models;
const{clickHouse}=ctx.app.fs
const{clickHouse}=ctx.app.fs
const{includeDelete}=ctx.query
const{includeDelete}=ctx.query
constprojectRes=awaitclickHouse.projectManage.query(`SELECT id, project_name, isdelete FROM t_pim_project WHERE isdelete=0 ${includeDelete==1?'OR isdelete=1':''} ORDER BY id DESC`).toPromise()
constprojectRes=awaitclickHouse.projectManage.query(`SELECT id, project_name, isdelete FROM t_pim_project WHERE isdelete=0 ${includeDelete==1?'OR isdelete=1':''} ORDER BY id DESC`).toPromise()